From: Daniel Schierbeck Date: 2006-05-28T21:09:54+09:00 Subject: Re: Crazy thought -- Rubyish type conversion? Florian Gro� wrote: > Daniel Schierbeck wrote: > Perhaps it is time for writing another source code filter. What do you > think about? > >> def foo( bar, baz, bur) > > That way you could use any expression where the type appears. Method > calls, variables and so on. Hmmm, I'm not too fond of the use of classes -- I'd like to use the #to_* methods instead. Otherwise the dynamic typing will suffer. Perhaps this? def foo( bar, baz, bur); end Although I still think this is more terse: def foo(str bar, int baz, sym bur); end Daniel