News

Redundant Return

Find it hard to shake of the Java-isms? Here’s a little inspection and quick fix to help out when you redundantly use `return`.

After the quick fix is applied:

What other anti-patterns do you notice in code written by recent converts from Java? Pattern Matching on booleans? Overuse of Option#isDefined? Providing inspections for these can help keep code clean and educate the programmer; we’re interested in what you thing is important.