It pains me seeing people recommend javascript.

  • innocentlurker [he/him]
    ·
    2 years ago

    Yeah, javascript requires military discipline and a sense of duty because it's sloppy and any real structure is defined by the person coding it. If you rely on the language to define your limits and boundaries you're gonna have a bad time with javascript.

    • edge [he/him]
      ·
      2 years ago

      I wish browsers would just run typescript directly instead of needing to make an npm project and transpiling it.

      • blobjim [he/him]
        ·
        2 years ago

        ah yes make it even harder to implement and maintain web browsers lol. I wish web browsers didn't run javascript.

  • FunkyStuff [he/him]
    ·
    2 years ago

    Counterpoint: if you're just coding up a small demo in a day or two the drawbacks of javascript don't really kick in. For someone who's completely new and doesn't want to take the time to set up an IDE javascript is a fantastic recommendation. If they're trying to make some larger project with other people then maybe they should start with another language.

    • edge [he/him]
      ·
      2 years ago

      lel that’s what the hexbear devs tried to do.

    • dualmindblade [he/him]
      ·
      2 years ago

      With webassembly you can do that in any language. Using blazor, c#, rn and it's not bad at all. That said, I really like js as long as I'm not having to collaborate, it's extremely expressive and you can just stick to the subset of it that makes sense

    • crime [she/her, any]
      ·
      edit-2
      2 years ago

      yeah but what if the language worked and wasn't a pile of bolted together garbage from when one dude wrote a toy language in 2 weeks then Microsoft reverse-engineered it and left the bugs in

        • crime [she/her, any]
          ·
          edit-2
          2 years ago

          Point being, please don't put garbage in the backend just because you're fluent in said garbage, for the sake of your backend and ops/infra/reliability engineers

          I'm sorry javascript happens to you on the reg but don't inflict it on others

          • TankieTanuki [he/him]
            ·
            2 years ago

            I'm not a developer (yet?). What's your preferred backend language? C#? Python? Rust? Java?

            • crime [she/her, any]
              ·
              2 years ago

              Ahh gotcha! Sorry if I came off a little hostile, I'm in the middle of begging the developers at work to not write any more nodejs apps because they're all dumpster fires that no one maintains (making them my problem, and I really fucking hate javascript)

              I like Ruby best for web servers without major performance requirements, and for general-purpose utilities and scripts. For high-performance webservers I like Clojure, Java is boring and a bloated but ultimately fine. Super curious about Rust and Elixir, but won't use them for anything that isn't toy-project shaped until they have more robust tooling and community support

  • FourteenEyes [he/him]
    ·
    2 years ago

    :geordi-no: Learning JavaScript

    :geordi-yes: Not learning any programming languages because math is for nerds

    • BynarsAreOk [none/use name]
      ·
      edit-2
      2 years ago

      This is an old stereotype, there are tons and tons of use cases that require absolutely not a single use of math or nothing beyond primary school level. Don't let people say you can't program if you don't know math, this is wrong.

  • crime [she/her, any]
    ·
    2 years ago

    As someone who has recently been subjected to both javascript and typescript, it similarly pains me to see people pretending that typescript is fine

    The only reason people like it is because it's marginally better than javascript. It still sucks ass compared to real languages