Reflections on 10,000 Hours of Programming

Inca nu am ajuns la 10.000 de ore dar am observat urmatoarele

  • Delete as much code as you can.
  • Browsing the source is almost always faster than finding an answer on StackOverflow.- mai ales cand trebuie sa ma uit peste un api (eg DateTime api din java 8)
  • Simple is hard - mi-am spart capul cu un coleg joi, cand solutia simpla era sa mai facem un query un baza de date care nu era greu de executat
  • Have a wide variety of tools and know which ones to use for the job.
  • Avoid nesting conditionals deeply. Have common sense about your conditional tests and naming convention.- if in if inf if - beah
  • Name variables correctly. Again, an art. :slight_smile:
1 Like