4 ms·
It seems to me that the cost of retyping code each time is much higher than the cost of forgetting something. I get the underlying idea, that you "feel" and un
by Majestic121 11y ago
It seems to me that the cost of retyping code each time is much higher than the cost of forgetting something.
I get the underlying idea, that you "feel" and understand the code more if you type it, but holy hell would that be annoying !
- elevensies 11y agoTo qualify my statement: - If found a boilerplate HTML layout and wanted to insert some stuff into it, I would use copy-paste. - If I were editing a function to enqueue data, and I wanted to send it to two queues, I would re-type the 2nd enqueue command to avoid blindly copying over an inappropriate parameter, which is the kind of thing a tired mind might gloss over.
- tsumnia 11y agoYup! Its suppose to be annoying (well, not 'really'). It's primarily a method to ensure the reader 'learns' by mimicking versus blindly copying. Annoying to a seasoned programmer, but its a great way for students to get extra practice.