Lots of opinions here, both in the post and the comments.<p>The only opinion I'll give is that if you think there's a right way to do anything all of the time, your opinion is probably wrong.<p>Every project is different. Just on the to use / not to use libraries bit, most of the time you probably want to optimise for fewer lines of code (assuming you can find a decent library that does what you want). However, sometimes if you're writing frontend code you'll want to optimise for other things like bundle size, browser support or performance. In which case you might actually want to write something in 50 lines, instead of a library import + 10 lines, because that import might add 200kbs to your bundle or not support IE properly.<p>A good developer is one that understands these trade-offs and considers them in the context of the project's objectives. Hell, sometimes it's not even about the project, but just developer preference. There have been times I've done things in ways I don't like simply because I know it's the way the most of my team prefer.