• 3 Posts
  • 97 Comments
Joined 3 years ago
cake
Cake day: September 7th, 2023

help-circle
  • Sure, I’m familiar with the conditions under which Javascript was created, but those are all political issues, not technical ones.

    If you had to go back and recreate another C++, you would be forgiven for creating a bad language, because making a good, usable language without a garbage collector is really hard, and even moreso when it has to be compatible with C. If you had to recreate Javascript… I would think it would be expected that you don’t make a language with the same kinds of flaws JS has today. There were plenty of examples of languages Javascript could have been based off of when it was written (like Java).

    Case in point: it took decades for Rust to come around which was the first real challenge to C++. In the same period of time, we saw several GC languages appear (Java, C#, Go, PHP, Swift, Ruby, Python, all younger than C++), all competing against each other. Javascript would have been abandoned if it didn’t have a monopoly on web programming.



  • I’m not trying to goad you into an argument, though I could have admittedly phrased things better. I just can’t think of any reason why someone would want adopt Javascript as it is with all of its problems. A slice of pie is better than nothing at all. On the other hand, using Javascript when a much better alternative exists (namely Typescript) would be a significant liability in my opinion.

    In fact, pretty much everyone on our front-end team at work would agree too - they’re pretty much unanimous in saying that Javascript should basically never be used.


  • I also agree that Javascript is worse. C++ has two excuses for being bad:

    1. It has to be compatible with C, a language that’s multiple decades older than it, and
    2. It is not garbage collected.

    Javascript has neither of those two excuses. People only use it today because of the ubiquity of web programming. In fairness, it did kill off a few other technologies, like Flash and Java applets, but that was more Webkit and Chrome picking it as the winner than anything else.

    Maybe these arguments are a bit hand-wavy, but the way I see it, it’s like the C of the web programming era.


  • C++ and JS are objectively shit languages from the pool of used languages.

    This is a great point. There are a lot of even worse languages that are dead/dying and deserve to do so.

    But personally, I see a lot of people who continue to defend JS. And I have worked in C++ for about 5 years now and nobody I have worked with praises the language - most want to ditch it entirely and switch to Rust. I can think of maybe one person who claims that C++ is good enough, which is hardly any praise.

    This is all anecdotal stuff, so maybe we don’t see eye-to-eye though. I personally love C++, because it’s a really fun language to write, but I simultaneously think it’s an awful language, and the people who write/standardize it keep making the same kinds of bad mistakes over and over again.




  • I’m not a fan of AI personally, but the “copying others’ work” argument never resonated with me. The internet makes copying data trivial - if you still get worked up over people using a technology that has been trivial since the '90s, well, I don’t know what to tell you, but you’re just not going to win that one. People are just going to keep doing it anyway and maybe it sucks, but there’s nothing you can do about it.

    The only reason file sharing is illegal today is because nobody bribed politicians to keep it legal.




  • Damn! Matchmaking is definitely really hard at high MMR levels, and I remember back when I read reddit about how many people would post angrily about matchmaking - there’s no easy solution to that problem at that point. I remember watching a twitch stream after TI9 where Ana was fountain farming an opposing team until they got an abandon. (The deserved it for being asses in the allchat to be honest, but the skill gap was still obscene.)

    But at the same time, your experience is exactly how I figured things would go if I ever tried to play Dota seriously. When I played football in my teenage years, I realized that eventually, you reach a point where getting better stops being fun because everyone else is equally talented and trying their hardest to get to the next level too. At that point, I realized that I just wanted to have fun and stopped competing. Still played recreationally in my regional league though. We had terrible results, but losing on a bad team was a lot more fun than winning on a good one.

    Glad to hear that Dota helped you kick all your bad habits. It’s always good to find a silver lining, no matter how crappy the situation is.


  • In my case, it’s age. I only have so much free time during a day, and ruining it on a shitty Dota2 pub match just makes me feel like trash for weeks later. Even today, I cringe when I think back on some of the stupid things I did in that game.

    The last thing I need is more embarrassing memories running through my brain when I’m trying to sleep at night.


  • I got to about the same level of ascension in Slay the Spire. Eventually, I realized that dying 10 times in a row before getting the dream deck for finishing a high ascension level just… wasn’t that entertaining. When a game has too much RNG, it becomes about as much fun as flipping a coin and trying to get heads 5 times in a row. Oh and also, when you do get that perfect deck, it becomes even more stressful making sure that you don’t screw it up and have to start from the beginning all over again!

    Now I just play with ascension off entirely. The A20 achievement is the only one I don’t have, and probably never will.


  • I feel this. I can’t even play a game of chess online without feeling stressed out. I love playing against friends, but against anonymous strangers, I just can’t do it. It’s a damn shame - I sank about 3000 hours into Dota 2, and about 98% of it was against bots.

    I do enjoy co-op games these days though, but again, it’s still better with friends.