If you are coming from an OO background, one of the more challenging aspects of learning functional programming is the lack of obvious design patterns. There are plenty of idioms such as partial application, and error handling techniques, but no apparent patterns in the GoF sense.…
translation
The One Cost Engineers and Product Managers Don’t Consider
I talk a lot about costs. I believe good engineering is about finding the most cost-effective solution to a problem, whether that cost is measured in dollars, hours, morale or lost opportunities. Some costs are paid immediately and some are assumed as debt. Everyone in business knows this intuitively, but some costs are less obvious than others, so it’s important to point them out to your team.
Safely using .ready() before including jQuery
Earlier today, I read Stop paying your jQuery tax, an excellent article by Sam Saffron which explains why it's a great idea to move all of your external JavaScripts to the end of the HTML document, then proposes a method which allows you to continue to use jQuery's .ready()
method anywhere in your document, even though you've moved jQuery itself to the bottom.…