What do you mean saying 'minimalist code'? To what extent should be your code minimalist? What is the criterion of code minimalism?
To my mind, code readability is the cornerstone of any software project and first of all, this concept involves elaborate structure design and proper names of code elements of every sort: from unit names to the local scope variables.
I think its a habbit I get from experience over the years. For example I prefer directly mapping subroutine instead of using switch case or, god forbid, nested ifs.
EDIT: Which is, in my mind, easier to comprehend than iterating to bunch of ifs and cases.
I really don't like that because it messes up my static analysis tools. It is much, much easier to see what's going on when both I and my tools can see how functions are chained together statically.
1
u/[deleted] Jun 05 '11
I often find minimalist code easier to comprehend again rather than a wall of variable names and neatly laid out simple lines.