r/programming • • Apr 09 '14
Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"
[deleted] — view deleted post
2.0k
Upvotes
r/programming • • Apr 09 '14
[deleted] — view deleted post
View all comments
Show parent comment
12
u/dnew Apr 09 '14
It's only terrible if you're not in the habit.
I always use < instead of >, rearranging the order of the comparison if necessary. Because then the small things come before the big things. (Good for stuff involving timestamps, especially.) I find it hard to read code that does things like "if (x < y || z > w)" and figure out what it means, without thinking about it, without verbalizing it.