May 2010
1 post
1 tag
referential transparencies
Oftentimes when shifting back and forth between languages it’s easy to fudge syntactic nuances out of habit. Sometimes when you fudge you learn something new. Today I fudged some Java in my Scala. What would you guess the return type of the following method to be? def guess(what: String) { "%s? really?" format what } One who is used to Scala by now knows there’s no need to...
May 15th
1 note