340 million tweets are sent globally on any given day. The JavaScript event triggered every time the blue button is clicked on twitter.com is largely the responsibility of Angus Croll, co-author of Twitter’s Flight Framework and member of Twitter’s Web Core team.

In this exclusive interview, he offers his best tips for programmers to write better JavaScript and explains performance gains achieved by moving away from an MVC architecture.

Part 1 – Three tips to write better JS

Next parts coming soon

This interview was recorded at Web Directions Code 2013, in Melbourne, Australia. Save $100 with the code SITEPOINT when you register to the upcoming Web Directions South, to be held in Sydney, October 2013

Free Guide:

How to Choose the Right Charting Library for Your Application

How do you make sure that the charting library you choose has everything you need? Sign up to receive this detailed guide from FusionCharts, which explores all the factors you need to consider before making the decision.


  • Colin

    Subtitles would be wonderful, I’m hard of hearing – but also helps those with a different accent or different first language.

  • Anonymous

    they already have closed captions

  • Colin

    There’s “automatic captions” i.e. machine speech to text. Impressive, but about as useful as Google Translate – most of the time, laughable. Google makes adding proper CC easy – given the transcript, it will automatically line it up with its own speech to text effort, so you don’t need to add time (sync) info to the transcript. https://support.google.com/youtube/answer/2734796?hl=en-GB

  • coda89

    Read the source code and ready the bloody spec. :)

  • irfan

    thanks for the good tips, quite useful video.

  • Anonymous

    Question experts, always good advice.

Learn JavaScript for free!
Free course: Introduction to JavaScript

Yours when you take up a free 14-day SitePoint Premium trial.