[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-zile] No need to reverse comparisons in Lua
From: |
Reuben Thomas |
Subject: |
[Bug-zile] No need to reverse comparisons in Lua |
Date: |
Fri, 27 Jan 2012 23:16:46 +0000 |
Writing e.g. 0 == a doesn't help in Lua, since assignments aren't
legal expressions. Hence avoid it, for the sake of those who, like me,
do a double-take whenever they see a "reversed" comparison.
--
http://rrt.sc3d.org
- [Bug-zile] No need to reverse comparisons in Lua,
Reuben Thomas <=