JavaScript: The Good Parts

By  on  

I just wanted to give everyone a heads up that O'Reilly will be hosting a training session with JavaScript expert Douglas Crockford on March 30th in San Fransico. From the website:

In this Master Class, JavaScript expert Douglas Crockford will scrape away the language's bad features to reveal all the good ideas that make JavaScript an outstanding object-oriented programming language -- ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. You'll learn why this powerful feature subset is more reliable, readable, and maintainable than the language as a whole, and discover firsthand how to create extensible and efficient code with it. Based on his popular O'Reilly book, JavaScript: The Good Parts, this class will demonstrate how JavaScript can be a beautiful, elegant, lightweight, and highly expressive language.

If you'd like to go, I have a special code for you that will save you 25% off of the price: SPH25.

Unfortunately I can't make it but if you live in the Bay area be sure to check it out!

Recent Features

  • By
    CSS @supports

    Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS.  What we end up doing is repeating the same properties multiple times with each browser prefix.  Yuck.  Another thing we...

  • By
    How to Create a RetroPie on Raspberry Pi – Graphical Guide

    Today we get to play amazing games on our super powered game consoles, PCs, VR headsets, and even mobile devices.  While I enjoy playing new games these days, I do long for the retro gaming systems I had when I was a kid: the original Nintendo...

Incredible Demos

  • By
    CSS Ellipsis Beginning of String

    I was incredibly happy when CSS text-overflow: ellipsis (married with fixed width and overflow: hidden was introduced to the CSS spec and browsers; the feature allowed us to stop trying to marry JavaScript width calculation with string width calculation and truncation.  CSS ellipsis was also very friendly to...

  • By
    MooTools Flashlight Effect

    Another reason that I love Twitter so much is that I'm able to check out what fellow developers think is interesting. Chris Coyier posted about a flashlight effect he found built with jQuery. While I agree with Chris that it's a little corny, it...

Discussion

  1. Hi David, I realise you’ve started blogging again now back from your holiday, I’m stuck as to what to do with your Image Preloading code in order to get it to work with more than just image formats (e.g. .jar files) and had posted in that article (several times, accident!).

    No reply from you as yet, so just asking here (in case, but probably not) because you may not have seen the question in the comments. If you feel little incentive to reply then would you say it wouldn’t be hard to adapt the code? I thought about asking elsewhere but its your code and nobody knows it better and I didn’t think you’d want to see a modified and possibly less efficient version of in floating about. Not being a programmer it’ll probably end up that way ;)

    Thanks again.

  2. Man, I’ve been hearing a lot of buzz about this

  3. Hassan

    I’m not in Bay too. Is there anyway we could watch the video of the presentation?

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