Archive for February, 2009

Books I wish to read

February 20, 2009 Leave a comment

1) Peopleware
2) Effective Java
3) Domain Driven Design
4) The Definitive ANTLR Reference
5) The Mythical Man-Month
6) Concurrent Programming in Java

Categories: Uncategorized

JRuby – Closure crashing

February 10, 2009 Leave a comment

I was learning closure using “” using JRuby cause Java doesn’t support.

To my surprise, even JRuby failed in “example 10”

example 10

    f( { return "Value from" })
rescue Exception => e
    puts "Failed with #{e.class}: #{e}"

Instead of exception message, JRuby process itself crashed when playing with jirb (JRuby Interactive Shell)

Note : Example 12 - also failed.
Categories: Uncategorized

Funniest code

February 2, 2009 Leave a comment

I am interested in collecting funnies code snipped. Will update collecting from internet.

Here is the begining.

x = x+1 (Most of the programming language, as such 3=3+1)
javascript:alert(0.94-0.01)  – Output – 0.9299999999999999
javascript:alert(0.9299999999999999+0.01) – Output – 0.94

Categories: Uncategorized