Effective coding: Don't repeat yourself

about X hours ago from

"The basic premise is to never have duplicate code in your program. It may sound obvious, why would anyone just copy and paste code? But code duplication is actually a surprisingly common programming problem." ...