- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: Self reference for Closures
Sat, 2009-03-21, 00:47
On Fri, Mar 20, 2009 at 11:41 PM, Ricky Clarkson
wrote:
> I find it quite amusing that:
Y do you find that amusing?
Cheers,
Miles
Sat, 2009-03-21, 12:47
#2
Re: Self reference for Closures
On Sat, Mar 21, 2009 at 11:34 AM, Ishaaq Chandy wrote:
> I feel like I'm missing some inside joke here.
> That code is definitely ugly Java code - but why is it amusing? And how does
> it relate to this thread? Can someone please enlighten me?
Jorge showed an encoding in Scala of the Y combinator,
http://en.wikipedia.org/wiki/Y_combinator
Maybe I misread Ricky's post but he seemed to be implying that the
Java he posted was a simpler alternative ... which it only would be if
you completely missed the point of Jorge's.
Hmm ... it wasn't a very funny joke in the first place ... now it's
completely dead ;-)
Cheers,
Miles
That code is definitely ugly Java code - but why is it amusing? And how does it relate to this thread? Can someone please enlighten me?
Ishaaq
2009/3/21 Miles Sabin <miles@milessabin.com>