This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: Normal Manure
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Anyway, in flippancy, I suggested that one way of encoding a large range of at: someIndex methods tersely was to simply use roman numeral selectors. The nice thing about roman numerals is that they start at one, so they match Smalltalk code well. I was then challenged to make it do tail based access as well. I had said I would use case for this distinction, but in the end decided to use a trailing underscore to indicate that the selector should go from the back of the collection, rather than the front. Mixed case is supported.
What a pile of manure, huh? But such is the normal kind of fun hack for me. And it turns out that NormalManure is a nice anagram for "Roman Numeral", so I published it in the Open Repository under the name of NormalManure. The other part of the blog title composed of roman numeral characters (my second candidate for a goofy package name).