>Becomes the default language for literally all high level developmentWhy? Why did a linter for dogshit JS become so ubiquitous? People will pretend that Java, C#, Kotlin, Python and [insert niche meme languages here] matter anymore but they just don’t. Sure they may be “better”, but TS has eaten into literally every domain that doesn’t require C-level performance or determinism. Give it 5 years and it will surpass Python for AI/ML. It’s already become the go-to for web backends, where Java, C#, Ruby, PHP, and Python are only for legacy webdev. It’s becoming more and more common to come across js/ts scripts and CLI tools, eating away at the Python/ruby/go market share. Everybody uses it to make shitty desktop and mobile apps with cross platform tools, despite the worse UX in the end.Is this the Antichrist?
>>108598166The biggest issue with JavaScript is lack of proper int and float primitives. This alone makes JavaScript, and hence TS the Antichrist.
>>108598166I hate this le serious-programming-but-we-compile-to-le-JavaScript-larp bullshit so much. Stop fucking adding build steps to places that literally don't need them.
>>108598166Literally the acronym for "Transsexual" in doujinshi.
>>108598166>Why?because no matter if you like it or not but the web is pretty much the most important platform nowadays. for the frontend js/ts is pretty much your only choice (i know theres also stuff like phoenix liveview), now if you need some server stuff it would be pretty annoying to learn another language and since you can write your backend in js/ts people will just also pick it up for that. from that point it also seeps into other niches like cli tooling. it might not be the best language but it's good enough and due to the inherent laziness of people often will beat learning another language
>>108598166Haven't checked in a couple of years but last I knew there were 4 big languages C++, Java, Python, javascript each with about 300k job postings on linked in. And the next biggest language was C# or PHP or something with barely 100k
i dont know who makes these threads - a stale bot?guys, its just text. frankly it was boring even before LLMs, but now its downright embarrassing to be engaging in a language discussion IMO.the whole point of SWeng is (was?) making enough money to become a retired homeowner. wtf are you all arguing about lol, who gives a shit, plug it into claude/codex/whatever and get your paycheck(s).
>>108599416Thank you for your contribution, Rajesh
>>108599416Some of us went into programming because we found passion in it since childhood. I'm sorry that jerking off is the only thing that makes you happy.
>>108598166It's a pretty good language. The type system is expressive without being incomprehensible. There are multiple fully functional implementations of both the transpiler (tsc, tsgo, swc) and runtime (v8, javascriptcore, quickjs). Solid dev tools.
>>108598166javascript is simply better than your favorite language. ts just makes it easier for you braindead fagets lol
>>108600220JS is the most braindead language outside of PHP
>>108598166>Thinking people would write better code if the language was differentWrong sadly. No matter what language is used, everything is libraryslop or AIslop nowadays. No one cares about writing anything good or performant anymore unless you are in a field that demands it.Like 80% of the stuff that needs to be written can be blazing fast in single threaded Javascript, but even simple applications come out janky and slow due to laziness.
>>108600220Javascript is utterly unusable due to lack of proper primitive types.
I wish Microsoft would pay me six figures a year to polish a turd. No one even uses TS as intended, they just use "any" instead of static types.
>>108602210What is it with trannies and masturbating to static types?
>>108598166Why does it require npm so that I have to reach for Node.js first? Is there a version without that crap?
>>108602289I am not talking about static types. I am talking about numeric primitives. int, int64, float, double. "Number" is insufficient. Not having proper primitives is a deal breaker that makes Javascript unusable.
typescript (and javascript) are popular because they offer familiar c-like syntax except you get 1) a bunch of data structures that work well out of the box for imperative/procedural work, and 2) an incredibly popular and widely used platform for instant testing and deployment to end users the real question is, why are you crying OP? if it’s so easy and dumb then it should be no problem for you to be successful at it, make a ton of money, and then go off and write your LARP system programs right?the truth is, willfully abandoning or ignoring the largest current surface area where software engineering takes place belies a lack of skill on your part - and that’s fine. mastering the web is hard. pretending it isn’t on /g/ is easy. and most people take the easy route. it’s ok.
>>108598166You're forced to use JS if your job involves we shit and TS makes it tolerable
>>108602437yeah no JS is popular because web browsers need it and corpos want to be able to use the same language for everything because it gives them a cheap and fungible hiring pool. only in the last few years did webshits finally stop trying to goad people into using node for everythingTS is just a way to make the necessity of JS less burdensomeit kinda works but half the time people don't respect it because they don't want to think about types
>>108602292Bun, possibly Deno
>>108602289I'm the most cisheterosexual man alive and I masturbate to static types. Probably just an autism thing. Static types make code robust and easier to understand while dynamic types make code brittle garbage straight from the pits of hell.I use Python for work all day nowadays (used to be a C++/C# dev) and it's just miserable with the dynamic typing. Strictly enforced Pylance type checking is merely a band-aid and can't fix the fundamental problem. Same shit with TS.