On the current typescript / anti-typescript internet drama I saw someone mention javascript without a build step.

Do you think we’re already there?

Last time I attempted it:

  • there were too many libraries I couldn’t import
  • JSX (using babel) had a warning saying you shouldn’t do it in the browser for production
  • there was some advice against not using a bundler, because several requests for different .js files is slower and bigger than a bundled package
  • MajorHavoc@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    The python community gaslighting the js community.

    As a Python developer, I am absolutely giving ya’all a hard time for your gross bolted-on JavaScript type solution. /s

    I do this primarily because I find it cathartic while I work with our gross bolted-on Python type solution. /s (mostly sarcasm, some truth here)

    I do this secondarily because I’m jealous that Typescript seems to be a good bit more mature than MyPy. (No sarcasm here. I really am jealous on this point.)

    • cgtjsiwy@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I recommend Pyright over Mypy if you don’t mind it being owned by Microsoft. It has far fewer bugs, and if you do stumble on one, you don’t have to fix it yourself because Microsoft’s paid devs will fix it in a couple of working days (at least for the small bugs I’ve reported).

    • Rooki@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah i programm a lot in python and typescript too. Even if i type something in python its still very weakly typed.