Buffalo buffalo buffalo buffalo …
January 16th, 2009
Today I had a programming experience akin to the grammatically correct sentence “Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.”
I’m working on a DSL that has values, which probably should have been called elements instead. I say this because I had to add a value keyword to the language which, of course, entailed a class named ValueValue. See where this is going? I knew things had gotten out of hand when I wrote this line of code:
ValueValue valueValue = (ValueValue) value;
Yipes. Maybe this is why some think naming constructs is the hardest thing about programming.