• Redkey
    link
    fedilink
    arrow-up
    5
    arrow-down
    3
    ·
    14 hours ago

    “NPM install” isn’t going to be the direct result of a race condition in JavaScript. And while I’m not familiar with Python, I’d guess that an “Indentation error” wouldn’t be one either. A missing library or syntax error that’s only discovered by executing a particular branch is still just a missing library or syntax error, not a race condition.

    Also, while Node.js is popular, it isn’t an integral part of JavaScript in the way that the other errors are integral to their respective languages.

    • lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      14
      ·
      14 hours ago

      none of these are race conditions, they’re just runtime errors. python only parses code when it is about to run that block so you can absolutely get a crash from bad indentation.

      in my experience, the js world’s focus on developer ergonomics has absolutely yielded some insane situations where running an installed script has caused it to start downloading more dependencies. however, this has unfortunately started happening in python too lately.