In a previous post, I alluded to the amazing time we live in. Libraries, frameworks, patterns and best practices abound, making development so much faster than it used to be. Why use Javascipt, when you’ve got jQuery?
A framework? Platform? Product I use a lot is WordPress. It has it’s faults, but it’s been around so long, it’s grown to accommodate almost every client scenario imaginable. Not unlike PHP itself.
In coding there’s a popular acronym DRY, which stands for Don’t Repeat Yourself. It encourages the best behavior of optimizing and abstracting code. If you’re using something in two places, put it somewhere else and make reference to it.
If we’re really going to take advantage of new technology, before we DRY, I think we need to DROP. Introducing Don’t Repeat Other People.
Before writing anything, I think it’s important to first, see how other people have already solved the problem, and second, see if you can use their code! Look on Github! I bet you there’s a library for that.