back

by jph·1y ago·view on hn ↗
Rosetta Code is a great resource and uses the GNU Free Documentation License 1.2.
1 comments
I see this much, but that's not a code license; it is a documentation one.
Don Knuth might tell you that code and documentation don't need to be different.

More seriously you can easily imagine Rosetta Code as just a way of teaching something, without an expectation that you'll compile or run it. In other words it is documentation, the fact that some of it is also code isn't a problem.

Why would anyone teach with code that cannot be used for legal reasons?

Instead of solving simple, common problems in many programming languages so that nobody has to ever do so again, this seems to make programming harder by excluding such solutions from being used.

So now you have to find work arounds in order to NOT use the simple solutions in Rosetta.

This is so evil.

Should be called the tower of babel of code, rather than the rosetta stone.

> Why would anyone teach with code that cannot be used for legal reasons?

Ask the Numerical Recipes guys!

But for real, you can use this code, I don't think anyone said that you couldn't.

>you can use this code

No, you absolutely cannot. This is how copyright works by default.

You'd need to relicense your code, with the permission of anyone else who owns copyright to it, to this documentation license.

I am your lawyer and this is legal advice, the code is available under the documentation license. It is there for you to use. Not using it is the real tort.
The GNU FDL 1.2 isn't compatible with the license of my code, and that of most code out there.

There is not anyone who can use code under this license, in practice.