Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Secrets of the JavaScript Ninja

    Secrets of the JavaScript Ninja

    John Resig, Bear Bibeault, Josip Maras · 2016

    Summary Secrets of the Javascript Ninja takes you on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. Written for JavaScript developers with intermediate-level skills, this book will give you the knowledge you need to create a cross-browser JavaScript library from the ground up. About this Book You can't always attack software head-on. Sometimes youcome at it sideways or sneak up from behind. You need tomaster an arsenal of tools and know every stealthy trick.You have to be a ninja. Secrets of the JavaScript Ninja leads you down the pathway toJavaScript enlightenment. This unique book starts with keyconcepts, like the relationships between functions, objects, andclosures, taught from the master's perspective. You'll grow fromapprentice to ninja as you soak up fresh insights on the techniquesyou use every day and discover features and capabilities you neverknew about. When you reach the final chapters, you'll be ready tocode brilliant JavaScript applications and maybe even write yourown libraries and frameworks. You don't have to be a ninja to read this book—just be willing tobecome one. Are you ready? Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

    Web & Internet
    Open LibraryAmazon
    Stats for nerds
    40recommend
    73mentions
    61people
    2009–2026years
    66% recommend32% neutral3% critical

    Mentions per year

    2009201120132015201720192021202320252026

    What Hacker News says

    1. brailsafeOct 2026
      People here seem incredulous that others would learn from a video series, course, or book, but I've always found this content extremely valuable and would continue learning from them even now. I learned the basics of async programming through learning about AJAX from Jeremy Keith's book on the subject, I dove very deep on JS itself from Secrets of the JavaScript Ninja, Cocoa from BigNerdRanch, Much of Swift and SwiftUI from John Sundell's writing, tutsplus, HackingwithSwift, Grid and subgrid from Rachel Andrew's writing. As a largely self-taught programmer, these resources have been absolutely crucial, and in retrospect it was a mistake to conflate the ability to find any information I want in discrete chunks with actually learning parts of a subject. I've also only rarely found University level formal courses to be as substantial in terms of what's actually useful to bring with me into practice. LLMs are more sophisticated in many ways, but if I want to learn something, I need to approach it more seriously than modern tools would have me believe. LLMs are great at letting me skip over the learning part, and they're great at helping me explore the problem space, but they're not what I'd turn to for educating myself on anything I care about, in much the same way that listening to a podcast or watching a documentary does not qualify as education, nor does it replace reading and/or physically practicing something.

      Web development, as much as some would like to think, is and has always been, complex.

      I haven't tried learning Rust yet, and I'm sure as hell not going to lean on an LLM at all when I do.

      thread
    2. _the_inflatorNov 2025
      Sure!

      And there is way more to it.

      This kind of code was common and also the starting point of every modern language innovation we have today in JavaScript - even TypeScript, and maybe any modern web development on the server as well.

      Tables were the only way to create browser independent layouts dynamically. Or put another way: adding interactivity to websites. And simply because hacking is fun and browsers were experimenting with APIs accessible by JavaScript.

      CSS was still bleeding from ACID tests, Netscape was forgotten, Mozilla build Phoenix out of the ashes of the bursting bubble and called their effort Firefox.

      In Germany there was and still is the infamous selfHTML project. I remember vividly reading and testing Stefans Münz tutorials on this topic. The content is untouched, only the layout changed, so go back in time for more table fun:

      https://wiki.selfhtml.org/wiki/Beispiel:JS-Anwendung-Tabelle...

      https://wiki.selfhtml.org/wiki/JavaScript/Tutorials/Tabellen...

      It was pretty common to have large one file websites: php and html with css and javascript mixed.

      There was no git, no VisualStudio Code, Claude Sonnet - no, Notepad and later Notepad++

      (Even the DOOM guys had no version control system in the early stages.)

      For me John Resig shines out here. Epic genius behind jQuery. The source code was pure magic, and his book "Secrets of the JavaScript Ninja" is for me the all time climax in programming excellence.

      If you never utilised the prototype property, you will never understand any of the most basic structures and inner workings JavaScript has to this day and why Classes are "syntactical sugar" for functions and nothing else.

      Function.toString in combination with New Function made me enter 10 matrices in parallel at the time. What a revelation. :D

      Nicholas Zakas comes close with his seminal Web Development book, in which he featured every Browser API available at the time with examples on roughly 1000 pages. To this day, exercising most of it and understanding the DOM and Windows object was the best investment ever, because and this fact 15 years later paved the way for the success of a financial SaaS platform. Lost wisdom, not covered by any modern framework like Angular or ReacJS.

      thread
    3. regusMar 2024
      Secrets of the Javascript Ninja is my favorite JS book by far.
      thread
    4. regusMar 2021
      I consider secrets of the javascript ninja to be one of if not the best books on javascript. The section on functions and closures are a must read.
      thread
    5. LocalPCGuyApr 2020
      Not sure how it holds up, but Secrets of the Javascript Ninja was the book I read when I felt like that, and it significantly helped me understand a few concepts I had struggled with. By John Resig (created jQuery). But it's a few years old now, so likely won't cover much if any ES6+ stuff. But I'd bet the concept stuff is still very valid.

      Also the You Don't Know JS series. And Elliot's Programming Javascript Applications.

      I don't know you, so I don't know if this applies or not, but be careful not to fall into the "expert beginner" trap (i.e. Dunning Kruger). Your first sentence starts to feel that way, but the fact you're asking for more resources and aware there are things you don't know are good signs. Always keep learning, the rabbit hole goes ever deeper.

      thread
    6. raztogt21Nov 2019
      Secrets of the JavaScript Ninja by Resig. My favorite to learn the intermediate level for JS.
      thread

    Related

    Cover of Pro JavaScript Techniques
    2008–2022

    Pro JavaScript Techniques

    John Resig
    16 recommend · 27
    Cover of Professional JavaScript for Web developers
    2008–2024

    Professional JavaScript for Web developers

    Nicholas C. Zakas
    19 recommend · 27
    Cover of Effective JavaScript
    2013–2022

    Effective JavaScript

    David Herman
    20 recommend · 29
    Cover of High Performance JavaScript
    2010–2016

    High Performance JavaScript

    Nicholas C. Zakas
    14 recommend · 21
    Cover of JavaScript
    2008–2026

    JavaScript

    Douglas Crockford
    72 recommend · 104
    Cover of JavaScript Patterns
    2010–2024

    JavaScript Patterns

    Stoyan Stefanov
    29 recommend · 35
    Cover of The Principles of Object-Oriented JavaScript
    2014–2023

    The Principles of Object-Oriented JavaScript

    Nicholas C. Zakas
    6 recommend · 6
    Cover of Javascript Enlightenment
    2011–2017

    Javascript Enlightenment

    Cody Lindley
    7 recommend · 10