r/ProgrammerHumor • • Oct 20 '26

Meme whyUseTypescriptInTheFirstPlace

Post image
123 Upvotes

19 comments sorted by

36

u/Rutgrr Oct 20 '26

RE: the meme: Because the code already exists and handles edge cases/business logic that a rewrite from a blank slate would not otherwise have in its context?

Don't get me wrong, in a completely greenfield project it makes sense to go straight to Rust instead of the extra intermediate step, but I can't imagine that anyone would be introducing a typescript->rust conversion step as a part of their usual development process.

RE: the title: Using TS over JS helps guard against a lot of common bugs/regressions and provides inherent documentation via types. Prior to AI, I had much more success contributing/continuing to work on a handed off TypeScript project than I have with a JS project because the extra tooling makes it a lot more straightforward to parse through the code.

1

u/drivingagermanwhip Oct 25 '26

using AI, it definitely works best at these kinds of tasks where it's complex but doesn't require much judgement

-26

u/smulikHakipod Oct 20 '26

Let's be honest, those guys don't really use anything that already exists, their code assistants weren't promoted to use existing solutions

9

u/misterespresso Oct 20 '26

They are using the reverse engineering skill that literally tells the agents to do EXACTLY what you just said they aren't being prompted? Am I missing something here or did you not look into this beyond a headline?

30

u/susparab44 Oct 20 '26

Bro is collecting programming languages like pokemon

4

u/KerPop42 Oct 20 '26

what language is your HM mule?

3

u/Funkey-Monkey-420 Oct 24 '26

python, obviously

8

u/pickle9977 Oct 20 '26

Wait till they rewrite rust in typescript so you can write typescript to compile to rust to compile to typescript to compile to rust.

And then you just send the agents in circles, with the worlds most ridiculous build process.

1

u/Avikonette Oct 21 '26

One was never restricted to compile any nonsense to any other one nonsense. The question is facility, the employees, and the fence height.

1

u/pickle9977 Oct 21 '26

Well I guess AI has basically given us a trampoline to jump over any height fence, yay progress!

7

u/hraath Oct 20 '26

This meme is an LLM hallucination 

6

u/Kadabrium Oct 20 '26

Typescript, where the linter is harder than the compiler

2

u/Rai-Hanzo Oct 20 '26

Finally, a properly used old meme

2

u/aleques-itj Oct 20 '26

I give my agents nothing but dd in a scratch container so they can push bytes directly into the shape of a binary to build software

Anything else is bloat in this day and age

1

u/[deleted] Oct 25 '26

because I won’t stop until everything is shipped in an electron wrapper. that’s why.

1

u/mr2dax Oct 20 '26

Did your Rust Chad colleague say something nasty to you?