Pair-Programming is in my opinion one of the simplest, enjoyable and productive activities in software development but for some reason seems to be one of the hardest practices to be accepted and adopted in many organisations. But why is that?
>>> Pair Programming Antipatterns <<<
Showing posts with label softwarecraftsmanship. Show all posts
Showing posts with label softwarecraftsmanship. Show all posts
Thursday, October 14, 2021
Pair Programming Antipatterns
Monday, December 17, 2018
Java 8 Refactoring Part 5: Improving enum with a BiFunction
This is the last refactoring that Victor Rentea did in the devoxx conference in London. He used a BiFunction to be able to provide more flexibility to an Enum. A very interesting refactor.
Labels:
bi Function,
clean code,
enum,
java,
java 8,
refactor,
Refactoring,
softwarecraftsmanship
Thursday, December 13, 2018
Java 8 Refactoring Part 4: Composition Over Inheritance using the Loan Design Pattern
The Loan design pattern is a pattern that follows the principle of favouring composition over inheritance. It was explained in the Devoxx conference in London.
Labels:
clean code,
design patterns,
java,
java 8,
softwarecraftsmanship
Wednesday, December 12, 2018
Java 8 Refactoring Part 3: Removing null checks and introducing Optional
The Optional feature of Java 8 it's very powerful it can prevent lot's of bugs and also make our code look more tidy. In this video I show an example which is very similar to the one presented at Devoxx London in 2018 by V. Rentea
Labels:
clean code,
design patterns,
java,
java 8,
Optional,
Refactoring,
softwarecraftsmanship
Sunday, December 9, 2018
Java 8 Refactoring Part 2: Stream Wrecks
A stream wreck is a complex concatenation of streams that tries to provide some results in a one-liner. One-liners are good but concatenation of Streams is not good since makes the code quite difficult to follow. To fix stream wrecks we need to extract methods, local variables or classes in order to be able to improve the readability of the code.
Labels:
clean code,
java,
Refactoring,
softwarecraftsmanship
Saturday, December 8, 2018
Java 8 Refactoring Part 1: Extracting Anonymous function to it's own class
In this video I mimic the first of the design patterns presented by Victor Rentea in the Devoxx conference in London in 2018.
Perhaps worth mentioning that the advantages of extracting anonymous functions into separate classes are:
- better readability of the code
- code easier to test
- more maintainable code
Friday, August 17, 2018
Refactoring - How do I start?

According with the Software-craftsmanship legend Sandro Mancuso we should start:
- Refactoring from the deepest nested branch of the code and work our way inside out.
- Test from the shortest/less nested branch of the code and work our way from outside in.
Thursday, December 11, 2014
Picture with a celebrity
Happy to have the priviledge to take a picture with one of the celebrities of the world of software development, R.C Martin. The event was held once more in central London in one of the many fabulous skyscrapers at "The sun" offices. Great atmosphere, drinks and pizza to make the huge crowd of IT professionals comfortable. Martin in a great speech counter attacked recent critics that were made to the Test Driven Development approach by David Heinemeir Hansson. Once more a great talk by one of the most important figures of modern software development.

Myself with R.C Martin(a.k.a Uncle Bob)
Subscribe to:
Posts (Atom)