by randomdata · 15y ago · 0 comments
If you give any consideration at all to bracket placement, use of whitespace, grouping of code, etc. then I am certain you are much more artistic than you give yourself credit for. The rest comes down to practice with different mediums.
Factoring might be a better example- picking the most convenient order for subroutine arguments, choosing how to bring together redundant segments of code, how to best use language constructs to express the problem. Ultimately I think it's difficult to draw a direct comparison, though- in my opinion, the similarities between graphic art and programming are rather abstract.
Interestingly, this gets much more important in a language with currying.