Hacker News new | ask | show | jobs
by dilatedmind 2653 days ago
Keep things simple and idiomatic. Use dependency injection and hook everything up in main. You should be able to open up your code and understand what's going on just by looking at this setup.

Your public apis should be based on the shape of your data. I would prefer postgres over mongodb because your data probably has a schema.

If you have the time, learn some other languages. Each language has their own ecosystem where problems are approached slightly differently. You'll pick up patterns and be able to apply them to your work. I would recommend elixir, which has a very focused ecosystem and a standard library with well thought out apis.