546
you are viewing a single comment's thread
view the rest of the comments
[-] Phen@lemmy.eco.br 3 points 1 year ago* (last edited 1 year ago)

Who the hell doesn’t use namespaces or enums

Uhhh, typescript devs? Enums were useful once, but typescript evolved everything else around it and these days using direct values is actually far better.

And I don't think anyone uses Namespaces other than for defining external modules.

[-] TheCee@programming.dev 0 points 1 year ago* (last edited 1 year ago)

My bad, I'm not deep enough into our frontend stack to realize Hjeilsberg already did what he does best - ruining enums. (I guess he is not to blame for global imports in c#, so i can not add 'questionable import module/namespace ideas'.)

And it seems like this proposal contains type declarations (in order to compensate for their enums), among other typescript specific things. So, guess it is option B, then.

this post was submitted on 08 Sep 2023
546 points (94.2% liked)

Programmer Humor

19735 readers
698 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS