Scala and Java Side by Side - The Result of Martin Fowler’s 1st Refactoring Example

Hi all - I am posting this in the hope that it will will result in responses that can educate readers (especially me!) about viewpoints, facts and misconceptions relating to Java acquiring records and sealed classes/interfaces.

The example shown in the deck is very small and very limited/simplistic, it is just intended to attract your attention and hopefully elicit a host of very different reactions (entertainment, curiosity, indifference, umbrage, fury), questions, doubts, objections, suggestions, clarifications.

Please download the slides to see code as if in an IDE.

1 Like