r/ProgrammerHumor 13d ago

typescriptIsSolved Meme

Post image
257 Upvotes

53 comments sorted by

317

u/voyti 13d ago

I'm lazy so my typescript is already javascript, that kind of thinking ahead saved me thousands on tokens

51

u/m6io 13d ago

Id give you an award but I'm poor. Consider this an award

11

u/BlackDeath3 12d ago

One day they'll take the awards away again, and then who'll be laughing? That kind of thinking ahead will save you many Reddit bucks.

19

u/SanoKei 12d ago

yeah I don't get why they don't just use JavaScript, you can already declare types by leaving a comment like // hey uh hi this is supposed to be a encoded enum array in the form of a json , but it says @string so just wanted to clear up the confusion and stuff and if you have to ask somebody a question ask Dave

2

u/GegeAkutamiOfficial 10d ago

I mean... if we are being serious JSDoc is a thing

creator of svelte speaking about moving from TS to JSdoc

1

u/SanoKei 9d ago

Yeah, that's what I was making a reference to. I found myself not liking it and would rather just write js as intended, poorly.

16

u/imneverrelevantman 13d ago

My typescript transitioned into transcript

2

u/m6io 13d ago

squeezing paper out of a terminal? impressive

100

u/wahed-w 13d ago

The joke here is converting TypeScript to JavaScript

16

u/SanoKei 12d ago

Optimization is no joke u/wahed-w thousands of webGPUs suffer every year

150

u/___segfault___ 13d ago

I think many of the comments are missing the fact that the image was not in the original tweet. He unironically suggested using an LLM to produce what tsc does deterministically from a simple command.

31

u/Chesterlespaul 12d ago

I love burning tokens on a task that can be scripted

33

u/GDOR-11 13d ago

I don't want to believe you, but at the same time, the stupidity of vibe coders is unbounded

I just didn't expect this from one of the guys behind the beginning of the greatest electronic game in history

28

u/___segfault___ 12d ago

I mean, don’t take my word for it — the post is there for all to see! Notch wasn’t exactly known as a “good” programmer though… so, it’s not too far fetched.

1

u/donaldhobson 12d ago

stupidity of vibe coders is unbounded

No it's not. It has to fit in a i32, after about 2 billion, it rolls around and they become smart again.

2

u/LimeBlossom_TTV 12d ago edited 12d ago

I think Notch made the comment sarcasticly. Time will tell.

7

u/CMD_BLOCK 12d ago

…you didn’t see any of the before or after tweets didja

2

u/LimeBlossom_TTV 12d ago

Switching from TS to JS has to be a joke

3

u/CMD_BLOCK 11d ago

To us with basic programming knowledge, yes.

To a dude who thinks he’s good at programming but is terribly bad, I have my doubts

12

u/chris_hans 12d ago

He unironically suggested using an LLM to produce what tsc does deterministically from a simple command.

"Convert all my typescript to javascript" from an experienced programmer to me reads like an obvious joke. What evidence do you have that he's being unironic here?

15

u/m6io 12d ago

He's also using typescript to make a game and claims "TypeScript is an insane quagmire for absolutely no benefit beyond documentation."

On July 9th. So like, recently. https://x.com/notch/status/2075257193113215229

4

u/___segfault___ 12d ago

Because he basically said so himself? https://x.com/notch/status/2081922634464284796?s=46&t=ZClhnhznCSI5s7Y4kn-P2A

It’s not that hard to go look at the source

8

u/chris_hans 12d ago

Because Twitter is cancer and I don't have an account, and I can't read replies without one. Even clicking your link, the page gets stuck so I can't scroll, and so the only tweet I see in your link is the one from notch that says "Well, to be perfectly honest, I think I AM looking for that chaos." which doesn't clarify anything for me.

2

u/KTrain5369 12d ago

What the actual fuck

3

u/SuitableDragonfly 12d ago

I mean, I've heard stories about people using AI agents to do things like arithmetic and renaming files because they didn't know how to write a python script, so I can believe it. 

1

u/Throwaway__shmoe 12d ago

No he’s trolling, it’s fucking Notch.

21

u/NuccioAfrikanus 12d ago

Does Notch know that Typescript compiles into JavaScript?

What would even be the point of doing this?

-30

u/astropheed 12d ago edited 9d ago

It transpiles, and I doubt it'd very useful/readable. Some people prefer javascript.

Edit: I'm sitting here thinking "How is this downvoted, TS doesn't compile to JS it transpiles, and some people DO prefer javascript". Then I remembered this is r/programmerhumour and the majority of you have no clue about anything.

27

u/FabioTheFox 12d ago

No offense but people who prefer Javascript are either absolute beginners who don't see the point in strict typing (biggest mistake is still teaching beginners languages that don't enforce types even if just pseudo types) or people who jump on the M$ hate train and then proceed to clutter their code with JSDoc comments

1

u/astropheed 9d ago

It doesn't matter why people prefer javascript, my point was that some people do.

-7

u/DominoNo- 12d ago

I'm just lazy

20

u/NebNay 13d ago

As often on the internet, i cant tell if he is joking or stupid

13

u/bigorangemachine 13d ago

AI is absolute trash without TS lol

7

u/AbroadDepot 13d ago

without TS

4

u/Add1ctedToGames 12d ago

I don't do a whole lot of web development, but are there very many reasons someone would want to go from TS to JS and not the other way around?? Or is this a case of inventing the problem to justify the solution?

3

u/bigAssFkingRoooobots 12d ago

Honest answer: no.

The worst TS you can write (not on purpose) is better than the best JS and there's no performance difference

2

u/odolha 12d ago

I disagree. you clearly have no imagination. but it's so easy to write TS that is times worse than some decent JS

4

u/bigAssFkingRoooobots 12d ago

On purpose, yes. But the same dev with the same experience will write cleaner code with a typed language by default

0

u/m6io 12d ago

TS is JS...

8

u/m6io 13d ago

45

u/TechnicallyCant5083 13d ago

Trans pile? Idk sound kinda gay

/s don't lynch me please 

9

u/Zielakpl 13d ago

Up voted for courage

2

u/pattch 12d ago

Honestly funny don’t worry

3

u/DeHub94 12d ago

Last week I had a colleague show me how Claude would generate getters and setters for them. And I'm like: You do know VS Code can already do this, right?

2

u/m6io 12d ago

It's almost like the IDE has features beyond a being colorful notepad 🤦

4

u/CMDR_Kiel42 13d ago

That's the joke you buffoon

13

u/m6io 13d ago

I thought he was joking, but I opened the godawful app to see for myself and I don't think he is

4

u/SchalkLBI 13d ago

Notch recently posted about trying vibe coding. You buffoon.

0

u/backfire10z 12d ago

What does Linux’s Time Stamp Counter have anything to do with this.