[MacRuby-devel] Weird behaviour for a weird line of code

Scott Ribe scott_ribe at killerbytes.com
Thu Nov 18 06:48:03 PST 2010


On Nov 18, 2010, at 3:02 AM, Eloy Duran wrote:

> I see no problem with this, as long as you know what you’re doing (which is with almost anything). Nor have I witnessed a community where ‘beat downs’ are acceptable, it’s certainly not this ML. YMMV.

While "beat down" is clearly an exaggeration, the assignment inside condition form is certainly strongly discourage in many communities, because it's so easy to type by accident, and sometimes surprisingly hard to notice ;-)

-- 
Scott Ribe
scott_ribe at elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice






More information about the MacRuby-devel mailing list