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/
![Page Visibility API]()
One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?
![Vibration API]()
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...
![MooTools onLoad SmoothScrolling]()
SmoothScroll is a fantastic MooTools plugin but smooth scrolling only occurs when the anchor is on the same page. Making SmoothScroll work across pages is as easy as a few extra line of MooTools and a querystring variable.
The MooTools / PHP
Of course, this is a...
![CSS Sprites]()
The idea of CSS sprites is pretty genius. For those of you who don't know the idea of a sprite, a sprite is basically multiple graphics compiled into one image. The advantages of using sprites are:
Fewer images for the browser to download, which means...