Hacker News new | ask | show | jobs
by MBCook 1 day ago
test_sum is assumedly relatively trivial. So as a lay person I’d expect some sort of obviousness test to apply. Like so much of the stuff in the Google/Oracle lawsuit.

But if you take all the individual tests used to test git as a whole, that seems far more unique. Seems like at that point you’re really having to duplicate the actual git internals, and that seems like it should be covered.

1 comments

> test_sum is assumedly relatively trivial. So as a lay person I’d expect some sort of obviousness test to apply. Like so much of the stuff in the Google/Oracle lawsuit.

Feel free to extrapolate to the threshold where it's not and at that point apply.

> you’re really having to duplicate the actual git internals

Copyright covers the expression, not the method. So the Rust function:

    fn sum(a: u8, b: u8) {
        a + b
    }
is distinct from the C function:

    int sum(int a, int b) 
    {
        return a + b;
    }
That's not copyrightable because it's trivial.
Please feel free to strongman. Extend the argument until it hits a point of non-triviality and then apply reasoning.