this post was submitted on 11 Feb 2024
301 points (98.4% liked)

Programmer Humor

33705 readers
300 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Hacker News post about this: https://news.ycombinator.com/item?id=39309783 (source available)

you are viewing a single comment's thread
view the rest of the comments
[–] GissaMittJobb@lemmy.ml 53 points 1 year ago (9 children)

This doesn't actually read as serious TypeScript, moreso as someone trying to showcase unhinged code.

I'd be happy to be proven wrong with a link to the source code so that I can look the beast in the eye.

[–] tyler@programming.dev 14 points 1 year ago (8 children)

Take a look at some typescript libraries and frameworks and you will see stuff like this. Completely unreadable mess.

[–] ris@feddit.de 18 points 1 year ago (1 children)

I have seen image recognition or text RPGs with type script types, but const ok:true = true as Grid< 4, 9, 2 Wtf

[–] MinekPo1@lemmy.ml 3 points 1 year ago

note that it continues onto the next line

load more comments (6 replies)
load more comments (6 replies)