DEV Community

Discussion on: Learning to program well instead of just learning new skills

Collapse
 
saf94 profile image
Saf Hayat

Getting good at writing code requires understanding a few things

  • what are different problems that arise with writing code / building applications
  • what are the different approaches to solving those problems
  • what are the pros and cons of the approaches
  • which is the best approach for the situation

The reality is 99% of people learn how to do this in a real life setting because it’s hard to fake the types of issues you face in a class / course setting. Most architecture is based on how to handle complex or large applications which are built over years by many developers. Even if someone could make a good fake app to teach it, you need to see things in multiple contexts in order to really understand (what’s known as transfer learning, eg recognise features/concepts in different contexts)

In summary, it’s pretty hard to teach in a course but I guess maybe not impossible. The level of teaching in the coding community is not that great imo, not very aligned with the actual journey of a learner as you’ve identified so I’d be surprised if a good course that did this did exist.

My advice is try to get as much experience as possible of different real code bases and understand the design / architecture decisions they made and why they made those and see the patterns between them