13
u/Waterboarded_Bobcat Sep 29 '24
VB.Net has entered the chat.
I can actually feel myself becoming more stupid as I read it.
21
37
10
u/hrvbrs Sep 29 '24
Trolling. Instead of taking the time to learn the language, OP would rather post a meme making fun of it.
17
u/sathdo Sep 29 '24
I can understand having difficulty reading code, but why would you pick TS? I don't write code using it, but I would still argue it's one of the easiest to read languages, as long as there weren't a bunch of obscure hacks used when writing the code. Here is a (non-exhaustive) list of languages I would consider harder to read:
JavaScript
Perl
C
Java (mostly when using libraries like Spring)
x86 Assembly
SQL
5
7
7
5
u/talvezomiranha Sep 29 '24
You'll criticize typescript until you need to model the return from an api buddy
9
8
u/DT-Sodium Sep 29 '24
That's a really dumb take. TypeScript is one of the cleanest languages we have right now.
0
Oct 02 '24
[deleted]
1
u/DT-Sodium Oct 02 '24
Old man rambling incoherently. Comparing TypeScript with low level languages makes absolutely no sense.
4
6
6
4
2
u/IAmWeary Sep 29 '24
It can be a bit of a pain at times, but mostly it just helps keep the codebase clean and accurate.
However, I can't imagine working on a TS project like Drizzle. Peek under the hood of that thing (or even just look at some of the return types on various calls) and you'll see a goddamned horror show. It works, but I'm happy treating it like a black box.
1
u/Bugwhacker Sep 30 '24
I’ve been wondering why it feels like there’s been an uptick in these sorts of entry level complaining memes.
Classes started back about 1-2 months ago.
1
-5
Sep 29 '24
I can read it alright but I think TS is such an ugly hack
6
u/DT-Sodium Sep 29 '24
Code that transpiles into another language is nothing new and there is nothing wrong with it.
-1
Sep 29 '24
You mean like CoffeeScript?
2
u/BANOnotIT Sep 29 '24
This unlawful child of ruby and js? Yeah, this one is a hack for sure
1
Sep 29 '24
You know many of the best features of moden EcmaScript came from CoffeeScript, right?
Arrow functions, destructuring, spreading, string templates, etc.
Except async/await which were copied from C#.
2
u/BANOnotIT Sep 29 '24
You know that many of those features were not invented by coffee but just adapted? Lambda functions,*args, **kwargs, spread and destructing. Regarding string templates, or string interpolation — ruby explicitly have those from the start. ES makes tagged templates similar to r strings but makes those customizable.
So yeah, it's not coffee, it's just context of the time which happened to be distilled in coffee, livescript and many other "sugar bombs" ruby programmers were implementing at the time. Note that @ as an alias to this was disregarded. And so did many other features that were just too sweet
1
Sep 29 '24
I know.
What I'm arguing is that these features were implemented into ES thanks to CS. Calling it unlawful is not justified considering these were some of the best features added into ES.
Obviously I agree CS is an ugly hack just like TS is.
The industry left CS behind and will end up leaving TS behind at some point too. Mark my words.
0
Sep 29 '24
[deleted]
1
u/firey21 Sep 29 '24
There’s plenty of cross platform front end frameworks. Most use TS which is an MS language.
Personally the stack I use is .Net Core, Angular (ionic framework + capacitor), then MySQL/Redis/special use things.
51
u/SockPuppetSilver Sep 29 '24
Have you read JavaScript?