Skip to main content
6 events
when toggle format what by license comment
Feb 27, 2011 at 16:27 comment added dan04 @Tom: It means you don't understand booleans. If you meant if (a == true), just write if (a). If you meant a = true, then the if statement is redundant.
Feb 27, 2011 at 10:59 comment added Inca The trouble is, assignment in conditions can be useful. I find <tt>while( element = list->next() )</tt> quite legible. So I am not sure I would like te have it removed.
Feb 27, 2011 at 10:55 comment added Zachary K in Javascript JSLint will catch that one for you.
Sep 29, 2010 at 6:59 comment added configurator Assignment just shouldn't return a value. It's sometimes useful, but in most cases it's just a pain in the neck.
Sep 20, 2010 at 17:07 comment added Tom Hawtin - tackline What is if (a = true) supposed to mean?
Sep 20, 2010 at 9:31 history answered CC BY-SA 2.5