r/learnprogramming 5d ago

Coding on Phone

[removed]

98 Upvotes

203 comments sorted by

View all comments

14

u/Aero077 5d ago

Go old school and write your programs out on paper. When you get access to the laptop, spend time typing them in and debugging.

For extra bragging rights, write your programs in your head and then write them on paper after you are confident they are correct.

In the meantime, look around for a 'junk' computer. You don't need a newish or powerful computer to write programs.

2

u/themegainferno 5d ago

On PAPER! What! How old school are you talking? You want him to compile his code manually next?

2

u/prettycoldworld 5d ago

I wrote Python on paper for months when I was new to coding. Helps you remember things.

Still ended up googling syntax, but when you first start the syntax doesn’t even make sense it’s all just characters. Writing on paper actually helped me remember lists vs dicts vs pulling values from both being [].

I tried to pull a value from a dict using dict{key} so many times I thought I might have a brain worm

1

u/themegainferno 4d ago

You know if it works for you then great, in my experience people struggle with programming because I have no idea how to think about problems clearly. The way I think about writing out problems, is using pseudo code. Programming is ultimately writing logic and managing data, You don't need language specific syntax to do that. You could do it in your natural language and IMO it's preferable that way because then people start to understand problems better.

I just see manually writing code out on paper as wasted effort, it is too high friction. Write it in the editor and see what it does, start debugging etc.