Divine Code

Bangkok, Thailand, 2007-10-27 20:55 +1000

#software_engineering

Often while naming variables or methods I’ve noticed that some related words have the same number of characters. I love this because it makes your code so much prettier, and I started keeping notes of these paired words. Here’s what I’ve found so far:

lower
upper

above
below

source
target

LeftToRight
RightToLeft
TopToBottom
BottomToTop

opening
closing

inner
outer

exponential
logarithmic

enter
leave

square
circle

BackColor
ForeColor

Range
Point
Scale