4 ms·
It's only harder in the sense that it's picky about what will compile. In c++ a lot of things will compile that really shouldn't, but that cost doesn't get coun
by lordnacho 3y ago
It's only harder in the sense that it's picky about what will compile. In c++ a lot of things will compile that really shouldn't, but that cost doesn't get counted in the "hard to write" reckoning. Somehow people don't add in the "oh crap it segfaulted, and I have no idea why" risk. IMO it's far better to have something that won't compile giving you a headache than something that compiles and costs you an unknown amount of time later.
I still haven't had my rust code segfault. To get to the same place with c++ I had to run a whole load of tools that aren't the compiler, but that are also more obscure and not normally mentioned in the coding tutorials.
- constantcrying 3y agoYes, I wrote that in another comment. You gain something for your effort, which almost always makes it worth it.