3 ms·
As an old habit before I knew about "paste" mode in vim, I transcribe code instead of using copy and paste. This allows me to make adjustments to the variable
by jewel 12y ago
As an old habit before I knew about "paste" mode in vim, I transcribe code instead of using copy and paste. This allows me to make adjustments to the variable names and other stylistic changes, and also gives me a better chance of understanding the code.
When I am looking at someone else's code that was built mostly by copy-and-paste, it is jarring to have changes in style, indentation, and quality from piece to piece. Also there tend to be lines of code that don't do anything. Especially beginners will just paste code and then change it until it "works", which leaves a incredible mess.