this post was submitted on 10 Nov 2024
48 points (90.0% liked)
Technology
59381 readers
4205 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
We use optional types everywhere for our server code, and that works really well. Not sure what
if not variable:
means? Just look at its type, no big deal. We don't annotate everything, but we annotate enough that static analysis tools can tell us what the type of pretty much any variable is. And most of the time, it's not even necessary because the variables are clear enough that the type can be inferred.So yeah, not an issue.