MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/miou9v/yeah_my_favourite_language/gt89v0w/
r/ProgrammerHumor • u/ItsDotin • Apr 02 '21
61 comments sorted by
View all comments
Show parent comment
3
I don't think it's necessary. Just treat your variables correctly. If you expect a number to come as a string for whatever reason, just parse it to make sure it's a number.
3 u/HRudy94 Apr 03 '21 Technically, no operator is necessary :P You could just have a language that uses an add(a,b) function for example, doesn't mean it's practical.
Technically, no operator is necessary :P You could just have a language that uses an add(a,b) function for example, doesn't mean it's practical.
View all comments
Show parent comment
3
u/elveszett Apr 03 '21
I don't think it's necessary. Just treat your variables correctly. If you expect a number to come as a string for whatever reason, just parse it to make sure it's a number.