Treehouse

Weekend Links II – Why Your Code Sucks, JavaScript’s Name, Stupid Programmer Tricks, Solitaire

By on  

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/

Treehouse Learning

Recent Features

  • 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?...

  • Camera and Video Control with HTML5

    Client-side APIs on mobile and desktop devices are quickly providing the same APIs.  Of course our mobile devices got access to some of these APIs first, but those APIs are slowly making their way to the desktop.  One of those APIs is the getUserMedia API,...

Incredible Demos

  • JavaScript Copy to Clipboard

    Providing your users the ability to copy text to the clipboard can make your website much more convenient and valuable. Unfortunately Flash 10 broke most of the methods for doing so. Luckily a great library named ZeroClipboard exists. ZeroClipboard uses a pinch...

  • 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...

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!