+ 1

Is usage of STL good practice in cpp?

I've heard that since STL provides algorithms n data structures functions, one's knowledge about actual implementations of those functions isn't needed. Hence it won't do any good to use them. Is it true?

16th Dec 2016, 6:43 PM
Hrishikesh Bawane
Hrishikesh Bawane - avatar
2 Respuestas
+ 1
using STL is good thing to do. One must have knowledge of underlying algorithms but STL makes it easier to solve bigger problems. For example while implementing some tree or graphs based algorithm if you use STL then you can directly use sorting functions. Most of the competitive coding environments, job interviews allow STLs
16th Dec 2016, 8:21 PM
Viral Parekh
Viral Parekh - avatar
+ 1
they are handy but i think it is important to know how the ADTs work. make one yourself.
23rd Feb 2017, 7:19 PM
Michael Szczepanski
Michael Szczepanski - avatar