While programming i am always afraid that what i do, even if it works, is unsafe/deprecated (stuff like using the mysql API in php instead of mysqli or PDO).
I was asking myself how does someone keep up with the best practices for a certain field/programming language?
thanks
EDIT: Thanks to everyone that was exaustive
that’s cool. thanks