Ask HN: I cannot memmorize and reproduce a certain algorithm/programs

3 points by l1feh4ck ↗ HN
> I can understand how the logic works and the control flow.

> But when the program becomes complex and the lines increases (>150),

> I find it hard to reproduce it from memory (its required for the lab exams).

> Will that makes me a bad programmer? How to get better?

1 comment

[ 5.1 ms ] story [ 7.3 ms ] thread
If you don't know how to reproduce it then you don't understand what it is attempting to do.

Instead of copying line-by-line think of it as an exercise in dynamic creation. Like playing Jazz.

What sort of algorithms are you attempting to reproduce?