Lesson 2. Basic principles of learning a programming language

After reading lesson 2, you’ll be able to

  • Understand the process of writing a computer program
  • Get a big-picture view of the think-code-test-debug-repeat paradigm
  • Understand how to approach a programming problem
  • Understand what it means to write readable code

2.1. Programming as a skill

Like reading, counting, playing piano, or playing tennis, programming is a skill. As with any skill, you have to nurture it through lots of practice. Practice requires dedication, perseverance, and self-discipline on your part. At the beginning of your programming career, I highly recommend that you write out as much code as possible. Open your code editor and type up every piece of code that you ...

Get Get Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.