• 1 Post
  • 70 Comments
Joined 6 months ago
cake
Cake day: June 6th, 2025

help-circle

  • Have you ever looked at the original JS implementation? It looks nothing like what JS is today. Saying the bones were spat out in a couple weeks is like saying Linux was developed in a few months.

    And yet working groups have spent literal decades trying to make JS less shitty. The fundamental basics of JS can’t be changed in backwards incompatible ways without breaking a huge number of websites. The Linux comparison is just wrong because Linux has broken backwards compatibility to fix problems. A better comparison would be Linux’s policy to never break userspace. Backwards incompatible changes to JS would break a bajillion websites, much like breaking userspace would break a bajillion programs.

    TS transpiles to JS, and any JS is valid TS. Take any TS, remove the types (and some syntactic sugar) and you have JS. I feel like if you like TS but not JS, you just don’t like loosely typed languages. That’s just a preference. It doesn’t make a language bad.

    JS is valid TS. TS is not valid JS. This is the fundamental point. TS essentially fixes issues that JS cannot fix without breaking the world.

    Loose typing is fine if the language’s type system isn’t insane. I prefer static typing, but as long as the type system is coherent, it’s not an issue.

    TBH IMO the only reason JS became popular is because it was provided by web browsers, and if you wanted to make your site do anything complex, you thus needed to use JS. This eventually led to the JS VMs being very fast, so Node was created, and now it’s all over since you can learn one language for web and server.


  • I’m pretty sure most people do not like JS’s loosey-goosey, who-knows-what-ur-gonna-get type system, which is why TS is so popular. Not really surprising since the bones of the language were basically spat out in a couple weeks. TS is a custom type system on top of JS, meaning it’s not just JS’s type system expressed through strict typing. They added a bunch of useful features like discriminated unions and so on to make using TS more pleasant than raw JS.

    TS is actually usable (although NPM and the environment built around it still suck). It’s inherited a bunch of weird shit from JS, but the type system generally makes them bearable.








  • IMO if you “just want box that make play video game go whee,” you should just buy a console (the Steam Machine, for example). That’s literally their purpose.

    Anyway, if you, for instance, just buy parts using recommended parts lists (some of the review sites have good enough builds, or you can just use the brain dead “build with AI” option on Newegg), you could probably just pay a computer store to build it for you for a lot cheaper than $1k.

    Or you could just read the manuals and build it yourself since the manuals are usually pretty straightforward with pictures showing you what to do. It’s basically just an expensive LEGO set lol. Really, as long as you can read a manual with pictures and use a screwdriver you’re pretty much good.



  • Sure, doesn’t really take that long to research and build it though, and in my experience if you get a prebuilt, most people aren’t gonna like get it serviced or troubleshoot it with CS unless there’s something seriously wrong with it. They’ll likely just live with minor annoyances.

    The only significant benefit IMO is if you really end up needing to RMA something (like if the motherboard is shot), you can just RMA the entire thing instead of figuring out which part is messed up. However, I’ve had mixed experiences RMAing laptops before, so I wouldn’t be surprised if it’s just as bad for desktops.

    It’s definitely not worth $1k+ IMO. If I spent $1k more, I could’ve gotten a 5090.






  • Except I said literally nothing about America in the original comment. I feel like the exact opposite mentality is also very prevalent on Lemmy. If you say anything bad about China (or Russia, North Korea, etc.), you will immediately be met with “well what about America huh???” There’d probably be more actually constructive dialogue if every post criticizing China wasn’t immediately met with whataboutism.

    Likewise, those same people will criticize the West for doing something and then praise China for doing the exact same thing. There was literally a comment in a thread about China just a day or two ago about state surveillance where someone was like “actually state surveillance in China is good because it benefits their citizens so it’s a-okay” while then criticizing the West for state surveillance.

    It’s basically just my team vs. their team mentality.

    EDIT: actually, I’ll put it this way: in the many, many threads criticizing America or Europe, I don’t often see someone randomly bring up China. In contrast, in threads criticizing China, I always see someone criticizing America or Europe pretty much out of nowhere.