[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Combining logical operators and conditions
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Combining logical operators and conditions |
Date: |
Sat, 29 Jan 2011 13:47:42 +0100 (CET) |
> A question regarding to coding style: Which is considered the
> "better" way to compare numbers, using "=" or "=="?
I prefer `==' since in most (recent) programming languages the `='
operator is used for assignments and `==' for comparison. But this is
really just a matter of taste.
Werner