Coding Learning Journey

Overall plan to learning C was:

  • Get Gemini to write program

  • Ask it to explain line by line and learn any new concepts, do research on any questions/words/terms

  • create a rough flow of how you would come up with this program from scratch, essentially reverse engineer the thought process

  • re-write entire program from scratch

As I did this, realized that I was struggling. So I asked a friend (rocket scientist nonetheless) and came up with these steps:

  • Requirements:

    • objective(s): what the hell am I doing here

    • input/output: what is the intake file, what is the output like, is this a separate file or listed on command line

    • core logic: step-by-step logic, as granular as I can get

    • conditions: any special conditions like criteria/thresholds/etc

    • very rough structure: what will the main function contain, what to put in miscellaneous functions...

  • Solution Block Diagram

  • Pseudocode

  • Fill in Logic

  • Test and Debug

Last updated