This is Johan_alps's Typepad Profile.
Join Typepad and start following Johan_alps's activity
Johan_alps
Recent Activity
Nice example.
It occurs to me that every time we do this (remove conditionals) is an act of generalisation of special cases: null object, strategy/command, using a map instead of a switch etc.
It gives me the idea to ask myself the explicit question of "how can I change the code so that one case is just a degenerate case of a more general one?"
Reminds me of Kevin Rutherfords ramblings : http://silkandspinach.net/2004/07/16/if/ http://silkandspinach.net/2004/07/16/hexagonal-soup/
Unconditional Programming
Control structures have been around nearly as long as programming but it's hard for me to see them as more than an annoyance. Over and over again, I find that better code has fewer if-statements, fewer switches, and fewer loops. Often this happens because developers are using languages with be...
A positively awesome experience!
Thanks to http://www.clubagilerhonealpes.org/ for generous funding.
Grenoble, France; November 23, 2011
It wasn't supposed to be the first Legacy Code Retreat, but Johan Martinsson and his team organised the event and Orange Labs hosted us, et ce n'était pas du tout prévu de lancer Legacy Code Retreat en français! We had a large group of about 40 people working in Java, C#, Smalltalk, PHP and, I...
Johan_alps is now following The Typepad Team
Nov 28, 2011
Subscribe to Johan_alps’s Recent Activity