Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
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
    B

    Ben McCormick

    benmccormick.org · Personal blog · on HN since 2012

    Ben McCormick, a web developer, writes about JavaScript, Vim, Backbone, Jest, and developer tooling.

    Visit blogRSSHN submissions
    Web DevelopmentProgramming
    What HN says

    HN links it for JavaScript and Vim tutorials and his Jest snapshot testing review, which a Facebook engineer recommended; one commenter found his Vim series shallow.

    Stats for nerds
    27HN people shared it
    121linked in comments
    629story points
    Jun 2023last shared
    2014people per year2023

    Top posts on HN

    1. 1
      The Sad State of the Backbone Ecosystem
      2 people · 126 points · first shared 2016 · 62 comments on HN
    2. 2
      Vim as Language
      1 person · 74 points · first shared 2014 · 21 comments on HN
    3. 3
      Understanding The Backbone Mindset
      1 person · 53 points · first shared 2014 · 6 comments on HN
    4. 4
      Ten Things a Serious JavaScript Developer Should Learn
      3 people · 41 points · first shared 2017 · 4 comments on HN
    5. 5
      Orthogonality and CSS in JS
      1 person · 38 points · first shared 2017 · 18 comments on HN
    6. 6
      Learning Vim in 2014
      2 people · 18 points · first shared 2014 · 2 comments on HN
    7. 7
      The Most Interesting Atom Packages I've Found So Far
      2 people · 12 points · first shared 2016 · 2 comments on HN
    8. 8
      Is Safari Being Left Behind?
      1 person · 11 points · first shared 2015 · Discussion on HN
    9. 9
      Underscore vs. lodash
      2 people · 10 points · first shared 2014 · 2 comments on HN
    10. 10
      Copy And Paste The Vim Way
      1 person · 9 points · first shared 2014 · Discussion on HN

    What HN people wrote when they linked it

    • johncoltraneJul 2014

      Your articles are entitled "Learning Vim" so one could expect a little bit more depth and actual "teaching". And not promoting crap like Janus… installing that shit is the opposite of learning. It's like paying someone to do your homework for you.

      http://benmccormick.org/2014/07/07/learning-vim-in-2014-working-with-files/

      was ridiculous.

      In "Buffer Management", you don't talk about :find or command-line completion or the wildmenu or the possibility to use mappings or the fact that one can use buffer names to navigate or tag-based navigation. And under "Plugins", the following sentence (and the mandatory list of plugins) is not really helping you to get your point across:

      The good news is that Vim has solutions. They're just not baked into the Vim core.

      Seriously, don't do that under a "learning vim" umbrella. That series should be called "Get Vim to look like all those screenshots without worrying about learning to use it".

    • cpojerDec 2016

      Hi! I work on JavaScript Tools at FB.

      There is a fantastic post by Ben McCormick about the up and downsides of this system: http://benmccormick.org/2016/09/19/testing-with-jest-snapshots-first-impressions/

      Snapshots aren't the only feature of Jest; it is simply one assertion in our assertion library. There is a ton of other stuff in the framework that makes setting up a test environment and writing tests easier.

      My philosophy for building a test framework is to build a good feature set to help you out in any situation but the user should be in total control. This allows you to find the best way to test your code which I've found to be extremely subjective. The choice of test framework and test methodology seems almost religious at times and I've deliberately tried to stay away from these conversations.

    • ggreerFeb 2015

      If you find yourself annoyed by some aspects of Underscore, you might want to check out Lodash[1]. Lodash's API is a superset of Underscore, though you can create custom builds with only the parts you need. In general, Lodash performs better and has fewer bugs than Underscore. Unlike Underscore, Lodash has 100% test coverage. Also, Lodash has some handy things like _.cloneDeep(), and semantic versioning. That means your package.json can have "lodash": "3.x" in its dependencies without worrying about breakage.

      For a more in-depth discussion of the differences between Lodash and Underscore, I recommend Ben McCormick's Underscore vs Lo-Dash[2].

      1. https://lodash.com/

      2. http://benmccormick.org/2014/11/12/underscore-vs-lodash/

    • lkbmJun 2023

      "Vim as a Language"[0] is a similar article I benefited greatly from back in the day.

      One additional tip once you start using things like d8k: Try "set relativenumber" in your vimrc. It makes all except the current line display offsets rather than absolute line numbers.

      Initially, this seems silly, but you quickly realize that if you're at line 1668 and need to delete up to line 1619, it's much more helpful to see line 1619 listed as "line 49" rather than "1619" and having to do the mental math to figure out that the command you're looking for is "d49k".

      [0] https://benmccormick.org/2014/07/02/062700.html

    • woogleJul 2014

      Thanks for the book I'll take a look on it, it seems interesting.

      For vimtutor it's introduced in the first part http://benmccormick.org/2014/06/30/learning-vim-in-2014-the-basics/

      The most disturbing thing when learning vim is the fact that shortcuts actually "means" something rather than being near your fingers. Like the old flashioned way to use shortcuts in RTS games vs grid modes.

    • ben336Mar 2016

      Several made this point, that Backbone is stable, not abandoned. I agree! I said so in the post. My concern is with the libraries around it. I've elaborated in this followup post: http://benmccormick.org/2016/03/09/stability-vs-decline/

    Related

    Steve Sandersonblog.stevensanderson.com62 people

    WebWindow, a cross-platform webview library for .NET Core

    Steve Sanderson
    Personal · last shared 2025
    Ben Cherryadequatelygood.com27 people

    Writing Testable JavaScript

    Ben Cherry
    Personal · last shared 2023
    Los Techieslostechies.com97 people

    Dear Open Source Project Leader: Quit Being A Jerk

    Los Techies
    Publication · last shared 2023
    Coding Horrorblog.codinghorror.com2.1k people

    Farewell Stack Exchange

    Coding Horror
    Personal · last shared 2026
    DailyJSdailyjs.com112 people

    Backbone.js: Hacker's Guide

    DailyJS
    Publication · last shared 2017
    Bocoup Weblogweblog.bocoup.com46 people

    Introducing the Backbone.js Boilerplate

    Bocoup Weblog
    Company · last shared 2014
    Ben Halperndev.to/ben51 people

    The target=“_blank” vulnerability by example

    Ben Halpern
    Personal · last shared 2024
    LogRocket Blogblog.logrocket.com242 people

    The easiest way to keep your web apps accessible: Just use text

    LogRocket Blog
    Company · last shared 2026