• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 67634
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!  
 
What's brown and sticky? ... a stick. Or a tiny ad.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic