9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions
comment 11y ago · link · parent
Edit: I was referring to a report by the Brady Campaign that in 2012 there were over 90K gun deaths in that particular year. I saw this recently on the news, and the stats stuck in my head for obvious reasons.
comment 11y ago · link · parent
comment 11y ago · link · parent
>anything that gratifies one's intellectual curiosity
So while this article isn't literally "hacker" related, it is not considered off-topic necessarily, and a high percentage of articles on HN are not directly related to technology, software, etc.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Well, that's a highly subjective opinion. It sounds like C++ doesn't work for you but I still find it a fascinating and enjoyable language to work in. There are drawbacks with any language, and I guess the drawbacks you find for yourself in C++ are your business.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Another is the lightweight possibilities for C++ makes it possible to install and run good apps on tiny machines like Pis, where installing Java can be much more challenging.
C++ is also a great language for iOS and OSX development for those who are not satisfied with Objective-C or Swift.
comment 11y ago · link · parent
It seems like all the langauges I've used, from objective-c to swift and Clojure require you to keep certain aspects of the language in mind for certain situations that don't on the surface seem obvious. Purity in any language is quite rare.
In the case of C++, it is possible to ignore much of that old baggage most or maybe even all of the time if you write new code using new features. I agree that those maintaining much older codebases are going to have a rough time, but is not an uncommon problem in many languages.
Also, even in a so-called "better" language you can run into massive refactoring projects with older code once you choose to adopt new libraries and tools. As Bjarne says, C++11 is much better, C++14 will be even better, and C++17 is further going to be better... frankly, this is a good path for any language to be on.
comment 11y ago · link · parent
Yes, C++ is old, but it has really stayed with the times in an impressive way. The so-called "Modern C++" that started with C++11 is a significantly different way of writing C++. All the things that made C++ infamously challenging and allowed inexperienced developers to leak memory and cause crashes, are, for the most part, no longer in the normal C++ workflow.
And all the rage about functional programming, passing around functions as values, writing closures that capture and encapsulate their surrounding values, using map, filter, reduce algorithms, relying on type inference, forgetting about pointer deletion and manual memory management and avoiding the access out of bounds memory on iterations -- that is all normal C++ now.
If anything has or will successfully replace C++, it is going to be C++ itself. The standards committee and community are doing an extraordinary job of keeping the language current while maintaining its great reputation for speed.
comment 11y ago · link · parent
https://developer.apple.com/opengl/capabilities/
To say that there is a recipe for slow OpenGL on Mac is a bit misleading: Mac is capable of fantastic OpenGL projects.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent