Weekend Links II – Why Your Code Sucks, JavaScript’s Name, Stupid Programmer Tricks, Solitaire
Labor Day is a link day, right?
Why Your Code Sucks
Bold phrase for someone who doesn't know your code? This article discusses the situations in which your code may, in fact, suck.
http://www.artima.com/weblogs/viewpost.jsp?thread=71730
Javascript Needs A New Name
Javascript is a pretty inaccurate name for a language, especially when it has nothing to do with Java.
http://www.dzone.com/links/javascript_needs_a_new_name.html
Stupid Programmer Tricks
A forum posting of great programming tricks.
http://discuss.joelonsoftware.com/default.asp?joel.3.536036
Amazing JavaScript Solitaire Site
Take a look at what Cosmic Realms created. An unbelievable, animated versions of solitaire using JavaScript.
http://worldofsolitaire.com/
![fetch API]()
One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for. We've done well to create elegant APIs around XHR but we know we can do better. Our effort to...
![Detect DOM Node Insertions with JavaScript and CSS Animations]()
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
![Dynamically Create Charts Using MooTools MilkChart and Google Analytics]()
The prospect of creating graphics charts with JavaScript is exciting. It's also the perfect use of JavaScript -- creating non-essential features with unobtrusive scripting. I've created a mix of PHP (the Analytics class), HTML, and MooTools JavaScript that will connect to Google Analytics...
![MooTools: Set Style Per Media]()
I'd bet one of the most used MooTools methods is the setStyle() method, which allows you to set CSS style declarations for an element. One of the limitations of MooTools' setStyle() method is that it sets the specific style for all medias.