Re:Go is Google's language, not ours
by Raidion on Wednesday May 22, 2019 @09:49AM
(#19981116)
Idk, have you seen the interfaces with default implementations in latest C#? Also duck typing? Both are mistakes IMO. First missteps I feel like I've seen C# make.
[ Parent
| on HN ]
If by "duck typing" you mean dynamic, then I don't know what you're complaining about. It has a very niche set of use cases where it is needed. If people are abusing it then it's on them. There is no good or even alluring reason to use dynamic outside of it's intended purpose, so I don't feel like it's one of those "shiny hut dangerous" features you see in some other languages.
Re:Go is Google's language, not ours
by bunderbunder on Wednesday May 22, 2019 @10:16AM
(#19981419)
Fair point. I switched from C# to Java several years back, so I'm at least somewhat working from nostalgia for a certain point in time.
I look at the feature list in the latest iteration of the language, and my thought is, "Y'know, you really should stop when you're done."
Re:Go is Google's language, not ours
by insertnickname on Wednesday May 22, 2019 @11:21AM
(#19982160)
What duck typing? Are you talking about the `dynamic` keyword?
Re:Go is Google's language, not ours
by JamesBarney on Wednesday May 22, 2019 @04:13PM
(#19984976)
Why don't you like default implementations?