Friday, December 27, 2013

What I Look At

This is what I tend to be looking at when I'm doing programming work.  It's subtle, but you can see the effect of rainbow-delimiters-mode on the second line of real code.  Nested parens and braces get highlighted in different colors.  It beats counting them!  All the long explicit names are there so that some future maintainer can understand the code.  There's way too much use of numeric constant indexes here.  It's hard to make myself replace a one character 0 or 1 with the name 'base_offset', though.  I'm not sure that would improve clarity.  This is definitely not as clear as I would like.

No comments:

Post a Comment