From: Rudolf Polzer Date: 2002-09-27T07:37:48+09:00 Subject: Re: Ruby - common pitfalls? Scripsit ille Alan Chen : > On Fri, Sep 27, 2002 at 06:37:23AM +0900, Rudolf Polzer wrote: > > - the if syntax. Pascal-style if is supported (and one is tempted to use > > it instead of the also supported C-style if since parantheses aren't > > easy to enter on most keyboards), but comparisons have to be written > > in C style. Therefore this happened to me more than once: > > > > if foo = nil then > > # ... > > end > > Note that you get warnings for this when using ruby -w I know - but then the code already has been written. I think it just has to be mentioned, not changed. -- [mpg123d] Just playing: .../albums/feelwell/02 Don't be discouraged.mp3 Erst lesen, dann posten. Siehe auch <3d864c66$0$3247$a5ec1103@news.ilse.asys-h.de>. Danke an Juergen Ilse f�r diese ausf�hrliche Erkl�rung.