[prev] [thread] [next] [lurker] [Date index for 2006/11/05]
On Sun, 5 Nov 2006, Phil Pennock wrote: > > I just spent 20 minutes trying to debug some Perl I'd just written which > wasn't working, only to discover that for the first time ever I'd tried > using an 'x' as a multiplication operator for a computer. Three times. > My mind was contaminated with recollections of Real Math. Of course Perl uses x to multiply strings and * to multiply numbers. Yay for non-polymorphic operators! Even more fun in O'Caml where integer arithmetic is + - * / and floating point arithmetic is +. -. *. /. . Tony. -- f.a.n.finch <dot@xxxxx.xx> http://dotat.at/ SOUTHEAST ICELAND: WEST OR SOUTHWEST GALE 8 TO STORM 10 DECREASING 5 TO 7. VERY ROUGH TO HIGH, OCCASIONALLY VERY HIGH AT FIRST. OCCASIONAL RAIN. MODERATE OR GOOD.There's stuff above here
Generated at 20:01 on 07 Nov 2006 by mariachi 0.52