| Not the OP, but my advice would be: Read the "classics" - Code Complete, Pragmatic Programmer, Clean Code etc. Google "best books about programming" and you'll find plenty. When you're reading think about the why. You're job is dealing in complexity and there is no one true way. Understand as many of the different ways as possible. If you think an idea is weak, try and figure out a question that exposes the weakness (how does this handle a date before 1970?). Expect that sometimes this question will reveal the idea isn't as weak as you initially expected. Remember you only need to solve the problem that's in front of you. If that problem doesn't seem easy try to break it up into smaller problems. Complicated solutions are often bad solutions. Complicated solutions can be good solutions. Write your code for people to understand. Advice on good writing is often very applicable to code... See Orwell(1), particularly "Break any of these rules sooner than say anything outright barbarous"
1.https://www.writingclasses.com/toolbox/tips-masters/george-o... |