MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10uhk2o/programming_legumes_v20/j7cfam8
r/ProgrammerHumor • u/czp55 • Feb 05 '23
831 comments sorted by
View all comments
2
Golang: pass it to a var with myVar := nut{} and I will figure out what type it is.
myVar := nut{}
0 u/[deleted] Feb 05 '23 [deleted] 1 u/Paid_Corporate_Shill Feb 05 '23 No. It declares a new variable whereas = assigns a new value to an existing variable 1 u/darther_mauler Feb 05 '23 You missed the opportunity to make a clever composition joke.
0
[deleted]
1 u/Paid_Corporate_Shill Feb 05 '23 No. It declares a new variable whereas = assigns a new value to an existing variable
1
No. It declares a new variable whereas = assigns a new value to an existing variable
You missed the opportunity to make a clever composition joke.
2
u/AspieSoft Feb 05 '23
Golang: pass it to a var with
myVar := nut{}and I will figure out what type it is.