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/

ydkjs-2.png

Recent Features

  • Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each to their own.  In any event,...

  • How to Create a Twitter Card

    One of my favorite social APIs was the Open Graph API adopted by Facebook.  Adding just a few META tags to each page allowed links to my article to be styled and presented the way I wanted them to, giving me a bit of control...

Incredible Demos

  • Create a Twitter AJAX Button with MooTools, jQuery, or Dojo

    There's nothing like a subtle, slick website widget that effectively uses CSS and JavaScript to enhance the user experience.  Of course widgets like that take many hours to perfect, but it doesn't take long for that effort to be rewarded with above-average user retention and...

  • Build a Calendar Using PHP, XHTML, and CSS

    One of the website features my customers love to provider their web users is an online dynamic calendar. An online calendar can be used for events, upcoming product specials, memos, and anything else you can think of. I've taken some time to completely...

Discussion

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