|
|
|
|
|
by robomc
5351 days ago
|
|
Worth noting though that this can go too far the other way. I've definitely written things where, in my refusal to repeat myself, I've made a hard-to-read mess. Here's an example from when I was very first starting out with ruby: http://pastie.org/2749772 This is a pretty hard to read piece of code, despite my rambling comments. All done to avoid copying and pasting the same easy-to-follow method ~10 times. |
|