Permanently Deleted

  • Ryaina [she/her]
    ·
    edit-2
    4 years ago

    I generally agree that the industry focus on OOP isn't great, there are a lot of problem spaces where OOP is just not a great fit compared to even just simple procedural approaches and many spaces where OOP can do a good job, functional languages can do better with less apparent complexity. the focus on OOP being "the best" has lead to a lot of bad design decisions and unnessacery complexity.

    I also generally agree that Javascript isn't a great language because of some specific design decisions.

    That said. Typescript is not Javascript, nearly all of the issues Javascript has are solved in Typescript. Also, Javascript is not the kind of OOP most people would think of seeing as it's prototype-based, it's much closer to functional languages in some respects because of that.

    • space_comrade [he/him]
      ·
      edit-2
      4 years ago

      Typescript is great for what it is but it's still tacked onto a bad language and ecosystem IMO.

      Personally I'd start new projects in .NET Core in either C# or F#.

      .NET ecosystem is solid as fuck and C# isn't bad for an OOP language. I wish F# was more supported though, it's a great language but the tooling and ecosystem is a bit lacking, although you can just use any .NET library but you're gonna be writing a lot of glue code.

      • Ryaina [she/her]
        ·
        edit-2
        4 years ago

        I agree that C# is a great language, but I actively work to avoid the .NET runtime for reasons that may at this point be largely historical; first impressions and all. I'd have loved to keep the project in Rust if the tools had been up to snuff, or we'd been able to get compile times down, but that wasn't in the cards. I'd also have loved to use Go (another great language without OOP). But, in the end we decided that it was much more important to choose a language where we had the best chance of getting more devs. and the tools were. mature enough that we could make smart decisions

        • space_comrade [he/him]
          ·
          edit-2
          4 years ago

          Yeah I get it, I'm not saying it's a bad choice, developer availability is a pretty big factor, I'm just salty as fuck that Javascript got so popular.

          • Ryaina [she/her]
            ·
            4 years ago

            This is completely getting. any language where {} / [] === NaN -> true is... a trash heap. why couldn't the web run of lua? that at least would have been the same style of Lang without as many problems.

            • space_comrade [he/him]
              ·
              4 years ago

              Yeah apparently the creator of Javascript took a whole 10 days to design the thing and here we are.