From: w_a_x_man Date: 2010-11-17T19:30:36+09:00 Subject: Re: Ruby vs PHP for the web On Nov 17, 2:09 am, zuerrong wrote: > 2010/11/12 Jesús Gabriel y Galán : > > > > > Javascript (weak typing): > > > 2 + '2' => '22' > > And even worse: > > $ perl -le 'print 2+"2"' > 4 In awk, "+" always means arithmetical addition; string concatenation is indicated by juxtaposition. C:\>mawk "BEGIN{ print 2 + '2'; print 2 '2' }" 4 22