Tweets

You blocked @JS_advice

Are you sure you want to view these Tweets? Viewing Tweets won't unblock @JS_advice

  1. 29 Jan 2015

    Let’s do it! Angular vs. JVM vs. XML vs MongoDB.

    Undo
  2. 19 Feb 2014

    Local variables slow your code down; use globals and define them at the top of your file. Single character names speed up code x30.

    Undo
  3. 18 Dec 2013

    Don’t you find it funny how only *other* people write crap code?

    Undo
  4. Retweeted
    Replying to

    never comment anything, minify libs in dev and call vars a, b, c, foo and bar. Concede devs the joy of grokking on their own!

    Undo
  5. 14 Dec 2013

    Comment liberally, because your coworkers are morons and can never understand the brilliance of your mind.

    Undo
  6. 18 Nov 2013

    Use CoffeeScript.

    Undo
  7. 5 Sep 2013

    Confucius say, typeof is operator, not function, stupid.

    Undo
  8. 5 Sep 2013

    Confucius say, dom is piece of pie to be eaten.

    Undo
  9. 2 Sep 2013

    Set all your variables to null at the end of every function. Helps free up memory.

    Undo
  10. 30 Aug 2013

    Use 'new RegExp` instead of `/.../` as the latter is susceptible to XSS.

    Undo
  11. 20 Aug 2013

    Why rely on the native JSON.parse when you can write your own parser!?

    Undo
  12. 17 Aug 2013

    I'm gonna need you to go ahead and add a redundant doc comment above every single variable... k?

    Undo
  13. 15 Aug 2013

    Don't just limit yourself to single or double quotes. Use both of them in unsparing and inconsistent fashions.

    Undo
  14. 13 Aug 2013

    Make love, not JavaScript.

    Undo
  15. 12 Aug 2013

    function isJavaScriptEnabled() { return true ? true : false; }

    Undo
  16. 11 Aug 2013

    You can annotate a line of JS to run faster by prefixing with '//'

    Undo
  17. 6 Aug 2013

    LOL some guy told me JSON is not the same as object-literal syntax... HAHAHA

    Undo
  18. Retweeted
    5 Aug 2013
    Replying to
    Undo
  19. 5 Aug 2013

    You know what's better than one var declaration per scope? One var declaration per application. Yup.

    Undo

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

    You may also like

    ·