> On Feb 14, 2017, at 5:15 PM, Richard Hipp <d...@sqlite.org> wrote: > > Nor is there anything wrong with goto, pointers, and assert(), in > principle. And yet they are despised while threads are adored, in > spite of the fact that goto/pointer/assert() errors are orders of > magnitude easier to understand, find, and fix.
Goto and pointers don’t enable huge speed increases the way concurrency does. With clock speed having stalled, the only way to take advantage of modern CPUs (and GPUs!) is to go parallel. Threading is also important to keep the UI responsive in GUI apps. Goto is pretty much unnecessary except occasionally for error handling in C since it doesn’t have any proper cleanup mechanisms. I haven’t used it in years (and yeah, my programming history goes back to the late ‘70s, starting with Tiny BASIC on IMSAI 8080s, so don’t tell me to get off your lawn ;-) Pointer arithmetic likewise except in certain really low-level grungy libraries. I have one such library, but the rest of my code is in C++ and mostly uses smart pointers. I’ve actually never heard anyone speak negatively about assertions. What’s wrong with them? —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users