4 ms·
> Code should be compact and functional, not airy. I would have to disagree for similar reasons to fooker. > It breaks copy & paste, ... not for actually comm
by tsumnia 6y ago
> Code should be compact and functional, not airy.
I would have to disagree for similar reasons to fooker.
> It breaks copy & paste, ... not for actually communicating about code or writing tutorials.
I posted it in another respond, but my research shows retyping code can be beneficial for learning. This extends to pre-internet coding books where that was the only way to recreate the code and Zed Shaw's "Learn Python the Hard Way" [1] where he explicitly states "You must type each of these exercises in, manually. If you copy and paste, you might as well not even do them."
[1] https://learnpythonthehardway.org/python3/intro.html https://learnpythonthehardway.org/python3/intro.html