hi @propensive. Do you use `else` statements in your Scala code even if they return `()`? For, might I say, completeness? or it's noise?
@Gentmen i.e. Always aim to make ifs functional (with an else clause). But don't include one artificially.
-
-
@propensive yeah, thanks. I've been studying Haskell, so I tend to look to it when writing Scala. H won't allow if without else, I think. -
@Gentmen Yeah, Haskell doesn't have side-effects, so there's nothing an if without an else could usefully do. It must return something!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.