Re: Paying developers to get features faster
From: Ben Measures (saint_abroadremove_at_removehotmail.com)
Date: 01/23/04
- Next message: Daniel Faigin: "Proceedings for the ACSA-sponsored Workshop on the Application of Engineering Principles to System Security Design (WAEPSSD)"
- Previous message: Ludwig77: "Re: Random password generator"
- In reply to: Barry Margolin: "Re: Paying developers to get features faster"
- Next in thread: Barry Margolin: "Re: Paying developers to get features faster"
- Reply: Barry Margolin: "Re: Paying developers to get features faster"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 Jan 2004 16:11:32 +0000
Barry Margolin wrote:
> For instance, some compilers warn about code like:
>
> if (<var> = <expression>) ...
>
> on the assumption that this is a common typo for:
>
> if (<var> == <expression>) ...
>
> Wrapping the assignment in an extra set of parentheses will shut the
> compiler up, with absolutely no effect on the generated code.
I might be thinking silly here but why not write
<var> = <expression>;
if (<var>) ....
It clears up the (reasoning behind the) code, something far more
important than a (virtually non-existant) speed increase? Better the
algorithm instead...
-- Ben M. ---------------- What are Software Patents for? To protect the small enterprise from bigger companies. What do Software Patents do? In its current form, they protect only companies with big legal departments as they: a.) Patent everything no matter how general b.) Sue everybody. Even if the patent can be argued invalid, small companies can ill-afford the typical $500k cost of a law-suit (not to mention years of harassment). Don't let them take away your right to program whatever you like. Make a stand on Software Patents before its too late. Read about the ongoing battle at http://swpat.ffii.org/ ----------------
- Next message: Daniel Faigin: "Proceedings for the ACSA-sponsored Workshop on the Application of Engineering Principles to System Security Design (WAEPSSD)"
- Previous message: Ludwig77: "Re: Random password generator"
- In reply to: Barry Margolin: "Re: Paying developers to get features faster"
- Next in thread: Barry Margolin: "Re: Paying developers to get features faster"
- Reply: Barry Margolin: "Re: Paying developers to get features faster"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|