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/
![Regular Expressions for the Rest of Us]()
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
![JavaScript Promise API]()
While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready? Promises are becoming a big part of the JavaScript world...
![Morphing Elements Using MooTools and CSS]()
Morphing an element between CSS classes is another great trick the MooTools JavaScript library enables you to do. Morphing isn't the most practical use of MooTools, but it's still a trick at your disposal.
Step 1: The XHTML
The block of content that will change is...
![Duplicate the jQuery Homepage Tooltips Using Dojo]()
The jQuery homepage has a pretty suave tooltip-like effect as seen below:
Here's how to accomplish this same effect using Dojo.
The XHTML
The above HTML was taken directly from the jQuery homepage -- no changes.
The CSS
The above CSS has been slightly modified to match the CSS rules already...