Velocity is the only language where Brevity for Brevity's Sake is OK.
In other languages, reducing total lines of code (LOC) with show-offy shortcuts just means your code will make no sense (to you or anyone else) after a few months away.
But in Velocity, the shortest possible implementation is a smart move, since:
Imagine you had a few Lead fields using the JETDS naming system: installationEnvironment, typeOfEquipment, and purpose.
There are 10-20 options for each of these fields, so the number of total combinations is huge. Even if you're only interested in a subset, the conditions get loooooong...
Read the full post on TEKNKL :: Blog →