• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Secrets of the JavaScript Ninja: what a JavaScript ninja knows that other users of JavaScript dont?

 
Ranch Hand
Posts: 59
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the three of you. Congratulations on a book that sold well enough to have a second edition. I'd like to ask you a conceptual question about the book. I'm familiar somewhat with JavaScript, but certainly not a ninja.  I looked at the table of contents of the new edition and certainly some of those things I don't know. Other than saying, "Master the entire book," what would a JavaScript ninja know that other users of JavaScript probably don't? Put another way, if you needed smoe JavaScript written, when wuld a non=ninja JavaScript developer be sufficient and when would a ninja be needed? Thanks.

Ken
 
Sheriff
Posts: 67749
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to pick out one thing that raises your knowledge to Ninja level: the explanation of how JavaScript execution contexts work. Lots of books describe the "effects" of how JavaScript operates, but I've never seen how it does it explained as it is in Ninja2. And once you understand the execution context, concepts like closures become a simple matter to understand rather than being some mysterious force whose effects you observe without really understanding why they work.
 
Greenhorn
Posts: 24
Eclipse IDE Python C++
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is good.  Coming from the world of arts & sciences, I've never been in a computer science class, and always wonder what kind of witchcraft is going on when I see words like 'closure'.  To understand what's going on under the hood would be great!  
 
reply
    Bookmark Topic Watch Topic
  • New Topic