The Lazy, Clever Programmer: A Compendium Of Code Reuse & Recycling
By Edgar Hassler on July 17th, 2008
I started getting “serious” about development because I had a desire never to write lengthy, wandering streams of code again. It was not for any reason but unadulterated laziness—the kind that so overpowers the better senses as to force a person to spend hours in a chair with the express goal of not spending hours in said chair. It’s a wild, consuming laziness that seems to know no bounds.
As developers, once we start separating our code into abstract ontological typologies, we make use of the human mind’s phenomenal ability to work with types. Our code becomes less about jump tables and registers and more about users, email messages and images. What once was a problem of allocating resources and operations within the computer becomes an abstract, logical problem within a collection of objects. Like children awe-struck by stories of magicians of old, speaking incantations and pressing their wishes into reality by the power of their mind alone, we become drunk with the sense of awe and possibility.
We *really* dive into things after the jump, so go ahead and hit it.
Tagged with: code, code recycling, code reuse, css, currying, functions, javascript, libraries, objects, patterns, php, practices, programming concepts, programming techniques, spl
Posted in: Articles, Development
There are plenty of resources for code snippets and quick-and-dirty ways to accomplish all sorts of things in JavaScript. Back before AJAX achieved any sort of prominence, they were all form validators, alert systems, calculators and the like. Now that AJAX has hit the “Web 2.0″ scene in a big way, (in large part typifying the “Web 2.0″ application interface) more and more users are clamoring for ways to add those cheeky interface elements that they see on Flickr and elsewhere to their own attempts at the web.
Ever since we made the switch from hosting our own mail servers to using 


