• 0 Posts
  • 260 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle



  • Like the other user said, this is clearly a problem if you allow any platform to exist. Let’s take this to an extreme extent. Say a company invents a platform that is 100% addicting, because they’ve figured out how to mind control you. Watching a single video means you will never stop using the platform and you will say whatever the creators want. Clearly that shouldn’t be allowed to exist. Things that social media sites do approximate that. They manipulate users brains into doing things that they normally wouldn’t do. This is why regulation exists. Clearly my example is farcical, but it’s meant to explain why you don’t allow just anything to exist. As a society, certain things are more dangerous than others, and we regulate those things.

    Clearly this ban isn’t about that, it’s about a Chinese government doing something that the US government only wants US companies to be able to do.












  • Article written like it’s someone that just discovered types even though a majority of the programming world said to use types for decades…

    Also I completely disagree with the assertion that you should write everything including backend in typescript in order to share types. You should be using a schema and generating your types if you are writing large systems. That way any service that uses your APIs can generate the types as well and isn’t locked in to your language.

    And please dear lord stop writing backend code in JavaScript or typescript or any scripting language.

    Other than that, yes, use types. They literally do exactly what every proponent of types has said they do for years. Turns out it’s a huge benefit!