Re:Pycraft: Minecraft engine in Python
by blktiger on Tuesday April 19, 2016 @11:40AM
(#11527722)
In this case I actually think the cognitive overhead is larger for the in range(5) call. You have to know how that will behave, is it 1 <= x < 5 or 1 <= x <= 5? The comparisons are more explicit and they are quite easy to read in this case.
[ Parent
| on HN ]
There are no comments on this comment yet.