Devoxx Poland 2019
from Monday 24 June to Wednesday 26 June 2019.
Marcus Biel (@MarcusBiel) works as Director of Customer Experience for Red Hat. He is a well-known software craftsman, Java influencer and Clean Code Evangelist. He is also a regular speaker at Java conferences all over the world, such as JBCN Conf Barcelona, JPoint Moscow and JAX London. Besides this, he works as a technical reviewer for renowned Java books such as Effective Java, Core Java SE 9 for the Impatient or Java by Comparison.
See also https://marcus-biel.com
In this live hacking, we will refactor a small Sudoku Brute-Force Solver. The code is anything but bad, but its age shows. It was written in 2005 in Java 5.
In pairs or as a mob, we want to give the legacy code a rejuvenating treatment. Among many other things, we will cover: Code readability Comments General OO Encapsulation Coupling Cohesion Immutable Classes Modern IO Java 8 Streams
I recommend that you familiarize yourself with the Sudoku rules and check the original code beforehand: https://github.com/fzoli/Sudoku/blob/master/src/java/sudoku/chan/SudokuSolver.java https://github.com/fzoli/Sudoku/blob/master/src/java/sudoku/chan/Grid.java
Over the last twenty years, there has been a paradigm shift in software development: from meticulously planned release cycles to an experimental way of working in which lead times are becoming shorter and shorter.
How can Java ever keep up with this trend when we have Docker containers that are several hundred megabytes in size, with warm-up times of ten minutes or longer? In this talk, I'll demonstrate how we can tweak GraalVM so that we can create super small, super fast Java containers! This will give us better possibilities for scaling up and down - which can be a game-changer, especially in a serverless environment. It will also provide the shortest possible lead times, as well as a much better use of cloud performance with the added bonus of lower costs.