srssays
Joined 10 years ago
Joined 10 years ago
Linked lists were way ahead of their time. Nowadays everything is so fast that we can probably use them without guilt, but there is still a sense of disgust associated them.
Code should be written so that it is understandable by other professional programmers, not people who started programming two weeks ago.
The danger to Rust is that for many projects it wins by default because the alternative languages are immature, rather than because its performance/security capabilities are actually worth the productivity trade-off compared to other languages.
Once Swift matures a bit, it will take a lot of the lustre from Rust.
In the past, computational complexity was lowered by arbitrary size limits. e.g. if you had a O(n^2) algorithm you might cap n at 10 and now you have a O(1) algorithm. Job done.
Now, computational complexity is lowered by aggressive use of indexing, so you might lower your O(n^2) algorithm by putting a hash table in somewhere, and now you have an O(n) algorithm. Job also done.
The practice of putting arbitrary size limits on everything has almost died out as a result.
If you're underweight, you should eat food.
Because Britain lacks a (good) cuisine of its own, we tend to eat exclusively the food of other countries, and those dishes are often spicy.
I'm pretty sure that HN has consumed more of my lifespan than any diet could compensate for.
https://developer.apple.com/library/content/samplecode/TextE...
Certain African countries are strongly individualistic. The state is too weak to help or punish anybody. Infrastructure crumbles, crime and slavery abounds.
You seriously don't want to visit let alone live in a country that lacks collectivism.