Re:Data structures and algorithms problems in C++ using STL
by kevincox on Friday March 10, 2017 @04:20PM
(#13842216)
Call me crazy but stick with c++.
It has a ton of warts and complexity but it also has the features you need. If you program in C++ you can have simple solutions 95% of the time and when the intrinsic complexity is higher the language has the tools to save the day. Many other languages will solve the simple parts slightly cleaner but the complexity explodes on the difficult bits.
However if you are looking for fun I really like Rust, it has a nice c++ feel without having to worry so much. Personally I still think it is a bit too new for "enterprise coding" but it is maturing nicely and learning it will really teach you a lot.
Re:Data structures and algorithms problems in C++ using STL
by agentgt on Friday March 10, 2017 @02:26PM
(#13841286)
Some what analogous: OCaml has Modules and Functors (not the normal FP functors but more like signature mappers).
OCaml I guess isn't that modern but they did just add First Class modules [1].
[1]: https://realworldocaml.org/v1/en/html/first-class-modules.ht...
Re:Data structures and algorithms problems in C++ using STL
by partycoder on Friday March 10, 2017 @09:51AM
(#13838966)
Most modern general purpose languages will provide you with equivalent functionality. But the C++ standard library and STL, not to mention Boost, has taken this very far.
Which modern language should I try if the first thing I miss in a language is the STL and the C-like syntax?