Lurker News
I am currently working for a startup and am one of 3 developers. Most of my work revolves around building the API in Node + Express as well as some small projects with MongoDB. The other developers don't really assist me since they have their own projects to work on, and, honestly, they have less experience and knowledge than I do.

So my question is: What is the best way for me to go about learning best practices in API development, or using MongoDB, or even just being a better software developer in general?

Comments (197) 98 threads

Earlier comments
lasereyes136#
I suggest:

1. Read - books and articles about what you are doing
2. Go to conferences and meetups and ask questions
3. Make learning and self-mentoring part of your daily flow
4. See mistakes as learning opportunities and get your team to see it the same way, talk about mistakes with your team
5. If possible, find someone to mentor you externally, maybe even just an hour or two a month, just to ask them questions
Learn how to learn and how to figure things out. A mentor is there for perspective and pointing you in the right direction. Working with other like minded people that can help you at least think of things from a different perspective can go a long way.

grishaandrianov#
There are three ways of learning

1. by doing a job and making mistakes
2. by studying theory
3. by observing how more experienced colleagues do a job that is very similar to yours (design review, code review, pair programming, daily conversations)
You are already using the 1st way.
You definitely can use the 2nd way by reading books (Martin Fowler, Bob Martin, Eric Evans, Kent Beck etc.), watching some video courses, reading code of open source projects, etc.
But in your case it is almost impossible to use the 3rd way. And as for as I know the 3rd way is far more efficient then others. I would propose to quit the job where you can't use the 3rd way.

meuk1 reply#
Just my two cents: learning by "experience" works, but is extremely inefficient, and you don't always get the feedback of your work. You always learn by experience, but you do as much as you can to learn to avoid making mistakes in practice. Compare it to learning to drive: Yes, you learn driving by experience, but you still need driving lessons to avoid getting in accidents.

You can try to learn on your own by reading, but if you want to make serious progeaa, you need a teacher, it's as simple as that.

afarrell#
This is a great metaphor.
markbirbeck#
I would start with the book 'Practices of an Agile Developer: Working in the Real World'.

That is not to go against other advice in this thread about watching videos, reading other books, making lots of mistakes, and so on. And it's also not to imply that there is a single 'best practice', either.
But what this book gives you is a load of solid places to start, on many different subjects that are important for developers. Subjects like issue-tracking, code style, how to learn and stay up-to-date, tests, infrastructure, resilience, working in a team, sharing knowledge, and so on.
It doesn't relate to any particular language or architecture. And it has some great tips for the situation you describe, where you are trying to do a good job in the context of a team that doesn't have any clearly defined practices.
I'd buy the paperback, not an eBook, and scribble in every margin. When you've read it, carry it with you and dip in and out.
Once you have read this, then a lot of other sources of material will make a lot more sense. Some of them might contain better ideas than those in this book, which is fine; the great thing about reading this book is that you'll be in a good position to evaluate other ideas.

Load more comments