incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadley wickham <h.wick...@gmail.com>
Subject Re: Understanding couchdb error messages
Date Sat, 29 Aug 2009 04:37:03 GMT
>> Also you need semicolons at line ends - your Ruby is showing ( :-) ).
>> For small one-liners this may not bite you but in general safer to add ";".
>
> Yes, and I'd even say you should never omit semicolons in javascript.
> the language has a so-called "feature" that automatically adds missing
> semicolons, but it's broken by design and it doesn't work in a
> consistent manner.

Thanks for the reminders.  It's hard switching between languages that
do (js) and don't (ruby, r) don't require them.

Hadley


-- 
http://had.co.nz/

Mime
View raw message