Re:Lombok makes Java cool again
by int_19h on Thursday January 31, 2019 @11:50PM
(#19051667)
C++ circa 1995 was a lot more like Java with manual memory management, really. Templates were a rare sight, STL was not yet a thing, and it was still considered an impure OO language rather than multi-paradigm.
[ Parent
| on HN ]
STL wasn't a thing, but MFC, OWL and ATL surely.
These were also closer to Java libraries of late 90s in design. Even ATL mostly used templates to optimize (using the curiously recurring template pattern, usually).
Qt was also born in that era, and look at how strikingly similar its standard library is to Java's in many cases, and how unlike STL and Boost.
The way you state it feels like it was C++ that copied those designs, when it was the other way around.
I cannot speak for Boost, but STL is also not free of OOP as such, iostreams, data-structures, allocators.
ATL was all about using templates, as optimization or not, one is on template land when using ATL, it is even part of the name.