From: Paddy3118 Date: 2008-05-25T15:44:53+09:00 Subject: Re: Not quite getting it. On 16 May, 19:45, Roger Alsing wrote: > Hi, > I'm trying to get whats Ruby is all about. > I've been doing .NET since beta so I'm kind of stuck in the static typed > mindset. > > The parts that I do get: > > I love metaprogramming, I was able to make a port of my .NET AOP > framework that took about 3 months to do in .NET in a week in Ruby (w/o > ever touching ruby before.. ) > > I also understand that its nice with auto promotion of number types when > they would overflow in other languages. > > What I don't get: > > How do you deal with ducktyping? > How can anyone assume that just because a method exists that the > semantics is the same? > <> > > So can someone try to convert me or am I forever lost? :-P > -- > Posted viahttp://www.ruby-forum.com/. Two blog posts that might help: http://jessenoller.com/2007/05/30/typeducking-on-duck-vs-static-typing/ http://paddy3118.blogspot.com/2008/05/duck-typing-done-right-is-wrong.html