294
you are viewing a single comment's thread
view the rest of the comments
[-] kkj@lemmy.dbzer0.com 5 points 1 week ago

So, an equivalent to C#'s Type? or Python's Optional[Type]? That's still a lot better than nothing. You aren't going to get an array when you asked for a float, for example.

[-] Zarobi@aussie.zone 4 points 1 week ago

You still might. Typescript is just a fancy linter, it doesn't actually stop anything from happening. If a backend API changes to give you an array, you will get an array, and it will be a disaster

this post was submitted on 07 Nov 2026
294 points (98.7% liked)

Programmer Humor

34135 readers
1937 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 3 years ago
MODERATORS