3 ms·
I think C++ classes and templates are incredible for data structures. In the java world, people try to make their entire program out of data structures, even c
by AboutTheWhisles 8y ago
I think C++ classes and templates are incredible for data structures.
In the java world, people try to make their entire program out of data structures, even complex data transformations, and unfortunately it ends up being a disastrous case of square peg in round hole.
- Nimelrian 8y agoWhat also helps immensely is the fact that C++ supports free functions. Free functions + templates allows for generic logic which is separated from the data they operate on, something Java doesn't allow in any remotely easy way. Yes, there are utility classes with static functions, but that is just horrible.
- deleted 8y ago[deleted]