Single comment thread
See full discussion
  1. Learn a bit of theory about what imperative programming is about and a bit of syntax and semantics of a language that you want to start with.
  2. Choose a thing you want to build. Something simple. Like a program that reads a text file provided in the arguments of the program and outputs the number of words in it.
  3. Write down on a piece of paper what the solution will consist of. High-level design.
  4. Describe each component of a high-level design in detail.
  5. Now write down an algorithm that each component implements in plain English or pseudocode.
  6. Convert the algorithm description or pseudocode into an actual code in the language of your choosing.
  7. Test your solution and fix the bugs.
  8. Choose a more ambitious task. Repeat the process.

Thanks! Can you do imperative programming with Java Script?

Home
Search
Messages
Notifications
More