From: Navindra Umanee Date: 2005-01-30T08:38:45+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby Florian Frank wrote: > > Hmm... not sure if I understand that last part... but one thing is > > very clear though... in Javaland, you simply cannot make pigs fly. > > In (non-evil) Ruby it's not possible either, to transform pigs into birds. I think you can, and I think LS was right when he said there was *no* strong typing in Ruby. require 'socket' file = File.new("/dev/full") socket = TCPSocket.new("www.ruby-lang.org", 80) safe_pointer_to_socket_object = socket p file.class p socket.class p safe_pointer_to_socket_object.class socket.reopen(file) p safe_pointer_to_socket_object.class Cheers, Navin.