What's the best way to to make option.get fail to compile? Is a compiler plugin the only option?
@mpilquist You could wrap your code in a macro (eg. noGets { ... }). I think @puffnfresh has thought about this a lot more.
-
-
@tixxit@puffnfresh True - I was thinking more like a scalastyle rule or compiler plugin that finds those calls in big codebases -
@mpilquist@tixxit@puffnfresh Compiler plugin that does this is trivial to write. - 3 more replies
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.