***This is a placeholder for the event being run on Eventbrite. Please sign up with your full name at https://www.eventbrite.co.uk/e/refactoring-into-chain-of-responsibility-workshop-tickets-80886532797 ***
Refactoring into Chain of Responsibility Workshop
Poker Hands are put into sequential order and the player who holds the highest one wins. Let’s make fun of it then and perform some refactorings of code that identifies what poker figure a given player holds. We will transform a set of nested if-else statements into a nice chain of responsibility classes (Straight Flush, Four of a Kind, Full House, etc). This way the chain of classes put into sequential order will figure out the score a given player holds. All we can promise during this refactoring workshop is definitely no bluffing - just pure focus on code transformations.
BTW: Did you know that real poker players are very rarely bluffing?
We will use Java 1.8 and IntelliJ IDE tool during the workshop. You do not need an IntelliJ ‘s licence as the Community Edition is enough.
Become acquainted with poker rules if you haven’t played it so far, because business perspective and understanding existing code is the initial step for any refactoring.
Here are the sources to install in order to perform the live-refactoring: https://github.com/wlodekkr/chain-of-responsibility
The goal of the workshop is to practice refactoring techniques and experience increasing code quality and readability.
About the speaker
Włodek Krakowski is an independent technical trainer specializing in maintaining code quality through refactoring. His main interest is taking care of delivering valued software from different perspectives. He writes a blog at www.refactoring.pl.
Agenda:
6pm: Doors open.
6.30pm: Refactoring into Chain of Responsibility Workshop
9pm: Finish
This event is organised by RecWorks on behalf of the London Java Community.
You can see our latest jobs here: https://recworks.co.uk/java-developer-jobs-london/.
You can see our privacy policy here: http://recworks.co.uk/privacy-policy
Continue the conversation at our Slack Group: https://londonjavacommunity.slack.com
Sign up here if you're not a member: https://barrycranford.typeform.com/to/IIyQxd