2010/5/11 Eitan Adler <[email protected]>:
> My proposal is simple:
> require that any if statement that compares a constant to a mutable variable
> be written as
> if (constant == variable)
> instead of
> if (variable == constant)

Use "const" qualification. It's portable and does not require
rewriting conditionals in any way.

Alexander Churanov
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to