Re:Scaling with CacheObservers
by petercooper on Wednesday April 03, 2013 @02:44PM
(#5488145)
The rest of the code is Ruby but this isn't. Guessing this code wasn't copied and pasted but written on the fly by someone who's been doing some Java recently? :-)
[ Parent
| on HN ]
Re:Scaling with CacheObservers
by reissbaker on Wednesday April 03, 2013 @03:05PM
(#5488311)
...Guilty.
Edit: fixed.
Re:Scaling with CacheObservers
by petercooper on Wednesday April 03, 2013 @05:29PM
(#5489255)
I spent a week porting a Java game to JRuby and I must admit.. I wouldn't actually mind a mixed syntax like this, but it did make do a double take ;-)
Re:Scaling with CacheObservers
by reissbaker on Wednesday April 03, 2013 @07:26PM
(#5489978)
Heh. Yeah, I always find myself using the non-existent keyword now in Ruby and blowing things up by accident. It's the one place where Ruby is surprisingly unnatural.
Thanks for the catch. :)