2 ms·
Write less code, and read more (code by others) instead. Learn different languages (especially functional ones, I can recommend Elixir). It'll inspire you to s
by hans1729 7y ago
Write less code, and read more (code by others) instead.
Learn different languages (especially functional ones, I can recommend Elixir). It'll inspire you to see different paradigms.
Think about well defined functions, modularity, simplicity. Check out the zen of python. Watch talks by Rich Hickey and other knowledgable+smart people.
Look at well-regarded code-bases, try to understand why others write things the way they do. Chromium is widely considered an amazing piece of code.
Post your code online and ask for advice. When you're told off because your code doesn't follow best practices, ask which best practices are meant, and start following them once you understood the reasoning behind them. [...]