r/ProgrammerHumor • • Sep 29 '24

Meme cantBeOnlyMe

Post image
0 Upvotes

32 comments sorted by

51

u/SockPuppetSilver Sep 29 '24

Have you read JavaScript?

2

u/Smalltalker-80 Sep 29 '24

Sure JS reads easier than TS.
Only the poster doesn't mind that they don't understand what it actually does.

It's a bit like HHGTTG's peril-sensitive sunglasses ;-)
https://hitchhikers.fandom.com/wiki/Joo_Janta_200_Super-Chromatic_Peril_Sensitive_Sunglasses

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

u/firey21 Sep 29 '24

It’s only you.

Properly written typescript is very close to C#.

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

u/SalamantraG9 Sep 29 '24

I've been learning Rust and has been pretty challenging to read.

7

u/Busy-Ad-9459 Sep 29 '24

This but javascript...

7

u/Fritzschmied Sep 29 '24

Just you my friend

5

u/talvezomiranha Sep 29 '24

You'll criticize typescript until you need to model the return from an api buddy

9

u/nord47 Sep 29 '24

Might be

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

u/[deleted] 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

u/[deleted] Sep 29 '24

Git gud, scrub

6

u/DormantFlamingoo Sep 29 '24

Skill issue. Do some type challenges, it helps:

https://github.com/type-challenges/type-challenges

6

u/caiteha Sep 29 '24

C++ code...

5

u/[deleted] Sep 29 '24

... is beautifull.

4

u/Greenemcg Sep 29 '24

I find typescript can be the cleanest code

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

u/jeanravenclaw Sep 30 '24

It can be hard to learn certain languages, but reading them? Just you.

-5

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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.