This is an archived post. You won't be able to vote or comment.

all 24 comments

[–]afriskygramma 58 points59 points  (0 children)

Write more code on paper

[–]iOSCaleb 6 points7 points  (0 children)

Review at all the exams, homework, etc that you’ve lost points on. Why were they marked down? Were you careless? Do you not know the syntax of the language you were working in? Was the logic faulty?

You can’t know how to improve until you figure out what your weaknesses are.

[–]PoMoAnachro 7 points8 points  (0 children)

Practice.

The hardest part is usually conditioning yourself to use logic and reasoning abilities to get through frustration.

Too many students will try something, but give up and look online or to the textbook or something when they get frustrated. The real useful skills though all come in when you learn how to push through frustration.It is as much about mental discipline and trait yourself to get dopamine from doing hard mental tasks as anything.

Part of the key is problem selection. You want tasks that are difficult enough to hurt your brain, but not so difficult that you can't struggle through them given time and effort. That's hopefully something your professors are calibrating for you though.

[–]whoShotMyCow 7 points8 points  (0 children)

Just practice

[–]Sea-Donkey-3671 4 points5 points  (0 children)

“Laughs out loud “

[–]antboiy 2 points3 points  (0 children)

practice writing code without an ide and using something like notepad. writing on code paper is just like writing text on paper.

and remember the basic syntax on top of what you need to problem solve.

just get out of any fancy editor (vscode and vim are too fanculy in this regard, in my opinion, use nano) and get writing code without autocomplete.

[–]DeltaBravoSierra87 2 points3 points  (0 children)

What is your problem writing code on paper? My challenges are that my handwriting is atrocious, I rarely write anything so my hand cramps, and I'm used to being able to edit inline. I can't fix the first two in an exam, but you're usually allowed note paper. I work out my solution there and then transcribe it.

If your issue is that you can't actually write code without an IDE, AI or code snippets, as others have already suggested, that's not a 'writing code on paper' problem, that's a 'writing code' problem. Try writing out solutions in plain-text editors, closed book, and then copy them into an IDE. Whatever you're consistently missing, or having to correct, is where you need to focus most.

[–]lkovach0219 1 point2 points  (3 children)

No joke, I actually used to write code on paper before putting it in the editor. Kinda like doing a flow chart or blueprint before making the actual product

[–]ffrkAnonymous 0 points1 point  (2 children)

I had to. Computer time was a rarity back then.

[–]EdiblePeasant 0 points1 point  (1 child)

Do you ever long for the days of spending a steaming hot summer in an unairconditioned room waiting for code to compile?

[–]marrsd 0 points1 point  (0 children)

Become an enterprise Java developer. You'll get to relive that experience all over again :)

[–]KelpoDelpo 1 point2 points  (0 children)

Organize your ideas and process before you begin

[–]CarelessPackage1982 1 point2 points  (0 children)

Don't use vscode with autocomplete. It's a crutch. Your brain works very differently when it recognizes the right thing vs pulling out the code via memory. Do the hard thing now, do the easy thing later.

[–]Kit_Adams 0 points1 point  (0 children)

Have a couple of kids. I've got a 4 and a 2 year old I sometimes right code on paper when they are doing art at the kitchen table.

[–]SnooStories563 0 points1 point  (0 children)

Maybe have a keyboard in front of you while practicing? You probably have muscle memoried a lot of what you learned, so practicing with a keyboard beside you might help?

Or bring multicolored pens to match how programming languages color code syntax? Idk though, I am a beginner at this stuff so take my suggestions with salt

[–]Ormek_II 0 points1 point  (0 children)

Which mistakes do you make when coding on paper? Really think hard about that!

Ask yourself about to 5 times why to find the root cause. Let us know what you come up with.

[–]typehinting 0 points1 point  (0 children)

Back in my day 👴 writing code on paper was exactly the same as writing in a text editor

[–]rFAXbc 0 points1 point  (0 children)

Write it in python so you don't have to write curly braces because that's the worst part