2 ms·
> Honestly I needed to read the C++98 code to understand the modern one. Was that your first time reading C++14? If so are you surprised that there was some le
by adamnemecek 11y ago
> Honestly I needed to read the C++98 code to understand the modern one.
Was that your first time reading C++14? If so are you surprised that there was some learning curve?
> Do other modern languages still operate with pointers?
As much as I'm rooting for Rust to succeed, C++ will be around for quite a while longer so it might be a good idea to make it a bit friendlier.
- progman 11y agoThe problem with modern C++ is that people stick to their programming styles. Many will use some of the new good features but they will also use the old ones (pointers!) because it's so easy to use them. Rust however forces people to accept new programming styles because the legacy ones (pointers!) are not appreciated.
- pmlnr 11y agoPointers are great for resource saving, eg. embedded. Don't underestimate them.
- progman 11y agoIn embedded systems pointers make some sense but not in usual applications. This is the way how Rust can work: http://mainisusuallyafunction.blogspot.de/2015/01/151-byte-static-linux-binary-in-rust.html http://mainisusuallyafunction.blogspot.de/2015/01/151-byte-s...