|
Authored by: Anonymous on Thursday, September 06 2012 @ 02:18 PM EDT |
Yes, they would, and that was intentional.
It's an example of two *different* implementations using the same 'language', as
contrasted with the earlier example of two *identical* implementations using
*different* 'languages'.
If the patent is on 'a=1+1', then it is infringed by 'Add one and one giving the
result to variable a' despite the different language, but *not* by 'a=1*3'
despite using the same language.
A more specific example in C and VB:
Assume doThis() is a function which adds the variable 'a' to itself, storing the
result in the variable 'a'.
Assume doThat() is a function which adds one to the variable 'a', storing the
result in the variable 'a'.
This is equivalent to a=a+a or a=a+1, depending on the value of a:
if(a)
{
a += doThis();
}
else
{
a += doThat();
}
This is also equivalent to a=a+a or a=a+1, depending on the value of a.
((a) ? doThis() : doThat());
Now onto VB.NET:
This is also equivalent to a=a+a or a=a+1, depending on the value of a:
If(a, doThis(), doThat())
This is the same implementation, in a different language.
This is *not* equivalent to any of the above implementations. It is equivalent
to a=a+a+1:
IIF(a, doThis(), doThat())
It may *look* like the VB 'If' and 'IIF' statements are the same. And in *many*
cases they will give the same result. However, they have one *very* important
distinction. The 'If' construct is a (relatively new) addition to VB.NET which
acts as a true ternary operator. On the other hand, the 'IFF' is a function
call, which must evaluate all of the parameters passed to it before it can be
evaluated.
So, here we have 'different language, same implementation', and 'same language,
different implementation', right along side an example demonstrating that
differences in implementation can be both subtle *and* important.[ Reply to This | Parent | # ]
|
|
|
|
|