Joined July 2012
·
Posted to
You are not lazy, sometimes Copy & Paste is a skill!
over 1 year
ago
You are right lautarodragan, it's called DRY principle.
I think I expressed myself wrong, what I meant is that in some cases the Copy & Paste is useful, not necessarily to copy all the code.
For example, if you have declared averybigvar it's best to copy & paste to avoid typo like avrybigvar.
(PS: I've updated my tip)
Posted to
Pretty Print
over 1 year
ago
Amazing tip!
Achievements
1,195 Karma
259,019 Total ProTip Views
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Can Node kill Ruby for new web apps?