2 ms·
I think he means that the code that doesn't do anything, just describes the interface between two software components is not a code (that you should be prevente
by scotty79 11y ago
I think he means that the code that doesn't do anything, just describes the interface between two software components is not a code (that you should be prevented from copying) because of its one to one equivalence with the interface.
Describing interface with words is exactly the same as declaring it with code. So such code is nothing more or less than verbal description of the interface (or any other description of it using any other syntax).
Not sure if that helps. If you can copyright interface, or just algorithms. Unless Java interface was specifically made free and open by Sun then it's really clear cut case.
- amelius 11y agoDoes this mean that all code written in pure functional languages is not code, since it does not "do" anything?
- echion 11y agoIt describes calculations or operations, so functional code still seems to perform or describe some actions. Constraint logic programs seem more of the grey area I think you're talking about. Is a set of constraints "code" (c.f. https://en.wikibooks.org/wiki/Prolog/Solving_a_Logic_Puzzle#Complete_solution https://en.wikibooks.org/wiki/Prolog/Solving_a_Logic_Puzzle#... )?
- mseepgood 11y agoWhat if I perform calculations with C++ type declarations? C++ templates are Turing-complete after all.
- rootlocus 11y agoYou're confusing declarations with declarative.