Re:Initialization in Modern C++ (295 pages)
by FpUser on Tuesday March 28, 2023 @08:16AM
(#35339588)
Std lib level code for sure. Application level is easy to grasp if written by decent programmer.
[ Parent
| on HN ]
Re:Initialization in Modern C++ (295 pages)
by badpun on Tuesday March 28, 2023 @10:43AM
(#35341944)
However, Application code is calling all these nightmarish library functions which you don’t understand and have to rely heavily on documentation and experimentation to use. It’s not like that at all in e.g. Java, where reading the standard library code is a pleasant and educating practice.
Re:Initialization in Modern C++ (295 pages)
by account42 on Tuesday March 28, 2023 @11:57AM
(#35343133)
This is good because unlike Java, for C++ there are several standard library implementations so relying on something that happens to be guaranteed by one is not a good idea. The standard and documentation is the only place where you will find what is actually guaranteed to work.
Re:Initialization in Modern C++ (295 pages)
by FpUser on Tuesday March 28, 2023 @12:02PM
(#35343220)
Please stop this FUD. I have zero trouble using std::whatever in C++ without diving into their code. Usage is very well though out and user friendly. Higher level libraries do use templates on a different level and are very readable.