News for hackers. Stuff that matters.
Re:Scala – 1 Star – Would Not Program Again by f7t7ft7 on Sunday December 01, 2013 @11:31PM (#6831607)
> The workflow I ended up with was to write a function without any type annotations. Ignore all the red lines of the IDE’s confusion. Compile the code. In the output look for a warning about (Long => Int) return value being ignored in a function returning Unit. Copy (Long => Int) into my code as the return type annotation of my function. Compile again.

That sounds like the most stupid way you could do things.

There are no comments on this comment yet.