Good names should consider their context

With good names for packages, classes, methods, variables,… code should be self-explanatory.  Long method names are not a problem if they really make code read better and don’t reveal too much implementation details. Names are more powerful than most...

My experience at the IronHack

  I am one of the lecturers/mentors of the first IronHack edition, a training program for people who want to become professional developers. My part takes only three days and it’s been this week. Three full-day hands-on sessions on JavaScript, TDD and...

Programming through VNC

I connect to my desktop PC (which is very powerful) from my laptop (very old), when I feel like coding from the other room, the couch or the bed. Desktop is a Windows 7 machine, laptop is Ubuntu. I have installed TightVNC on the Windows machine and SSVNC (without any...

What methods should Value Objects contain?

Value objects can contain methods. Otherwise they are just anemic models. Those methods prevent the feature envy code smell and ease refactoring. They manipulate object internals promoting cohesion and low coupling. But don’t forget about the Open/Closed...