News for hackers. Stuff that matters.
Re:Scala vs Go by jcdavis on Tuesday February 14, 2017 @11:44AM (#13644829)
function return types are not required in scala, although every style guide I've seen requires them for any non-trivial function
Re:Scala vs Go by mi100hael on Tuesday February 14, 2017 @11:48AM (#13644854)
I only use them on methods/vals that are intended to be publicly used just so I don't inadvertently change the type of something and break someone else's code. Within private methods, it doesn't really matter.