On Mon, 19 Nov 2007, George Lober wrote:

> Hello,
> 
> Question: What if "clean room approach" code is the same as the other.
> Simplistically speaking, how many other ways can one write 1 + 1 = 2?  Even if
> you may be able, most people would write it that way anyway. When you get
> right down to it, the set of standard mathematical and other functions
> available to a programmer is limited, and is used by everybody.  Most people I
> think want to write efficient code as well.
> 
> To take one of my own situations, quite a while back I needed to have a
> RoundTo() function in lazarus, so I wrote my own. At a much later point in
> time I actually looked at the Delphi code and saw that the only difference
> that code had was that it used the "IntPower" function. Except for this
> difference, structurally the two roundto functions were the same.
> 
> At the time I wrote my code I didn't use the IntPower function because I
> didn't know it was available. So hypothetically speaking, if I knew about the
> IntPower function at the time I wrote my code I probably would have written
> the same code as Delphi's. Would my code have been infringing?

No, but you would have a bitch of a time trying to prove that :-)

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to