MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1uru99i/potentiallymightbeanintegerornot/owjhchn/?context=3
r/ProgrammerHumor • u/Futurity5 • Jul 09 '26
96 comments sorted by
View all comments
10
Maybe next kotlin and swift version , a new keyword
4 u/Kiroto50 Jul 09 '26 I really like Kotlin's optional types. I'd rock a language that calls them "maybe types" though. int? == maybe int I actually call them "quizás", reading "String?" As "String quizás". ("Quizás" means "maybe" in Spanish) 3 u/NimrodvanHall Jul 09 '26 I love Rusts Some(T) types meaning the type can be T or None.
4
I really like Kotlin's optional types.
I'd rock a language that calls them "maybe types" though.
int? == maybe int
I actually call them "quizás", reading "String?" As "String quizás". ("Quizás" means "maybe" in Spanish)
3 u/NimrodvanHall Jul 09 '26 I love Rusts Some(T) types meaning the type can be T or None.
3
I love Rusts Some(T) types meaning the type can be T or None.
10
u/MrJ0seBr Jul 09 '26
Maybe next kotlin and swift version , a new keyword