45 karma · joined Oct 12, 2019 (7y ago) · 233 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
But if you ain't got the energy, then making any devices, however clever, isn't going to change the tide. Antique and medieval civilizations had some rather elaborate mechanisms like the antikythera, the trebuchet, rapid-fire crossbows in China etc. But without a major source of low-cost energy, none of them succeeded with an industrial revolution: large-scale coal-mining was what did it in the end.
comment 6y ago · link · parent
Maybes explicitly express what the programmer has foreseen, exceptions form a safety net over it. You need both in a wholesome language. That's wht even Haskell has exceptions.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
> The average ancient Roman worker was riddled with arthritis, suffered broken bones and was dead by 30 thanks to a diet of rotting grains and a lifetime of hard labour, a new study has found
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
http://doc.pypy.org/en/latest/parser.html
https://bitbucket.org/pypy/pypy/raw/b7b76322a4a7f53db98a883d...
comment 6y ago · link · parent
This is why I find C++'s "nothrow" a joke, by the way. It's not within human power to guarantee that any piece of code never throws exceptions. A gamma ray might flip a bit. You never know. The only practical way to reliability is the Erlang way: be prepared for errors arising anywhere anytime, not rely on fallible notions of what can and cannot cause errors.
comment 6y ago · link · parent
2. Arguing about C++ exception performance is pretty pointless anyway since C++ performance is its (only) strong side. Until Java/C# matches C++ in e.g. cutting edge 3D engines, this question won't even become interesting.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Seriously, I have great hopes for Kotlin. It corrects some Java's most egregious sophomore mistakes, it doesn't try (and fail) to be Haskell like Scala did, it's accessible AND has a major company behind it. Kotlin is surely something I wish I could use at work.
comment 6y ago · link · parent