3 ms·
The problem with 'just coding something' is your stuck with tiny problems and lessons related to those tiny problems. IMO, once you get past the basic, I can p
by Retric 11y ago
The problem with 'just coding something' is your stuck with tiny problems and lessons related to those tiny problems. IMO, once you get past the basic, I can program tick tack toe by hand, you need to take a year or two and learn from other peoples mistakes. Otherwise, most self taut programmers have a world of bad habits that only really bite them when part of a team.
The only real exception to that is when you have someone on hand to read your code and offer real advice. Don't use a for loop here use a foreach. Functions should mean something, don't just cut a program up and stick the top half in one function and the bottom half in another. etc etc.
PS: Number one thing to look for in a first job is a company that does real code reviews by competent people.
- jqm 11y agoBasically I agree but there is an additional way one starts to learn about best practices.... Having to maintain/extend a project you've written (poorly) for an indefinite amount of time. Next time around you are a lot more careful and start searching out best practices. Rinse and repeat.
- TeMPOraL 11y agoMoreover, being aware of the pain points lets you actually understand what various popular tools are about. You can then start incorporating them into your projects because you know what problems they're solving. It's easier to understand the value of, say, Docker if you had to develop your project on three different machines and went through setting up the environment and dependencies on each of them.
- cloverich 11y agoMy suggestion is that people who are learning, especially if self-taught, should dive into other peoples source code as soon as possible. Build something of medium complexity, then choose a couple of either the simplest or most useful libraries you used, and start reading the source.