Prefer standard library over handcrafted logic/algorithm.
Know your libraries
by Arne Mertz
From the article:
I often see people use handcrafted loops or write weird workarounds for stuff the standard library has already taken care of. This does not only apply for standard library features but also for any other library, like Boost, other third party libraries and the libraries the code belongs to. That is bad for several reasons, and I am going to lay out what I think every developer should be required to do before he writes production code.
Add a Comment
Comments are closed.