Well, I guess you should always write as little code as possible. Every line you write has a chance of having a fault. For me I'd always choose to use battle-tested modules - I have a mantra: "Build what you must, not what you can".
That is a truly fantastic quote and I'm stealing it thanks bye
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.