r/learnprogramming • u/wak_trader • 26d ago
Learning Writing on a paper
Would you say writing on paper is a good or bad idea for learning to code.
I feel like in the age of AI it is so hard to actually learn when you can just cheat the whole system. Would you say writing the code strictly on paper and only putting it in the IDE after writing the general idea on paper a good or bad idea.
I am still keeping my coding notes 100% digitally but I do like to write stuff down to visualize them to understand them better but I never actually tried writing code on paper.
0
Upvotes
11
u/Exallium 26d ago
The act of writing in and of itself is magical when trying to learn anything.
6
u/BranchLatter4294 26d ago
Desk check it on paper. That's how you can really learn.
2
u/smichaele 26d ago
I frequently plan my work on paper first before I ever open an editor. I do it for any pieces of code that may be particularly complex. Also, as u/BranchLatter4249 suggests, I also desk check this work.
2
u/waffleassembly 26d ago
get a white board
2
u/mjmvideos 26d ago
No. Don’t write code on paper. We had to do this when we were programming on punch cards. We’re past that now. But definitely make drawings of your flow, of your data structures, of objects and their relationships- whatever helps you visualize and keep track of what’s happening. This could be on paper or in a drawing tool- whatever lets you get ideas out most quickly.
1
u/_sensei0315 26d ago
Writing on paper is the most effective way for me. It works all the time
1
u/Traveling-Techie 26d ago
I like thin black Sharpies and colored pencils. Sometimes I scan the drawings to include in the folder with the source code.
1
u/PhilNEvo 26d ago
Writing on paper was what our professor encouraged us to do, in introduction to programming. And honestly, I'm super grateful for it. It was painful, but I think it really helped us learning.
1
u/Cruch-Wrap-Supreme 26d ago
I sometimes do leetcode problems on paper. I think it's very beneficial for memorizing syntax and building fluency, and you can do it anywhere.
1
u/Trakeen 26d ago
You are going to have to look up docs to do anything beyond the basics. It makes sense to at least use intellisense when working with api’s you didn’t write
30 years ago we did write on paper. We also only had to deal with a single language and could keep the syntax for that language in our head, and didn’t deal with default libraries for everything
1
u/kat-tricks 26d ago
only once you can write your code mostly error-free as quickly as you can write pseudocode. Until then, write pseudocode, write it up in an editor, compile, and learn:)
1
u/Mediocre-Pumpkin6522 26d ago
https://www.scribd.com/document/442476535/IBM-FORTRAN-Coding-Form
That's how it was done back in the day. Write it on paper and then keypunch when you were satisfied. Keypunches didn't have Del or Backspace.
1
u/mxldevs 25d ago
The purpose of writing it out is to force you to actually think through it instead of just brute forcing your way through spamming run until something sticks
1
u/Flimsy-Importance313 25d ago
Sadly I do get a boner when I code by writing it down.
Writing is good for planning and learning.
1
u/QwertyMel 25d ago
Pseudocode on paper beats memorizing syntax any day.
1
u/BroaxXx 25d ago
I feel that writting on paper and running and debugging your code by hand is a great exercise.
That being said having exams in C written on paper is not very fun.
1
u/Matilozano96 25d ago
I do some prep work on paper:
Database design
Module design
Filesystem design
Class + method/function design
Interface design
Code itself, not so much.
1
u/turtlesdontcry 23d ago
There is a sttong link between writing and comprehension. Like aside from testing it yourself there have been multiple studies. In particular it forces you to slooooow doooown and actually focus. Something that is becoming a lost art in this day and age.
1
u/denerose 22d ago
Taking notes by hand is very good for memorising stuff. Learning to code isn’t about memorising stuff though, it’s about learning how the building blocks fit together.
Drawing diagrams, pseudo code maybe, things that help you build a mental model of a system sure, but certainly not writing code by hand.
You can’t run or compile code on a napkin. You can’t debug or learn fluency in git and source control on paper. Learning your toolkit is just as important if not more so than syntax.
1
u/MpVpRb 21d ago
I started programming in 1972 on a mainframe with punchcards. I never wrote on paper.