Spaghetti Code??

5 replies [Last post]
alimiracle
Offline
Joined: 01/18/2014

is gpl can protect from Spaghetti Code??
and What about other licenses mpl, mit, bsd

J.B. Nicholson-Owens
Offline
Joined: 06/09/2014

name at domain wrote:
> is gpl can protect from Spaghetti Code??
> and What about other licenses mpl, mit, bsd

No. Development methodology issues such as "spaghetti code" (by which I
take it you mean code that resembles the description in
https://en.wikipedia.org/wiki/Spaghetti_code) are not within the realm
of what can be addressed in a copyright license such as the GNU General
Public License, the Mozilla Public License, the MIT X11 license, and so on.

alimiracle
Offline
Joined: 01/18/2014

I see some of my friends Open source
But they make its Spaghetti Code
So one does not understand
I think that this thing is at risk
See these codes Wrote in a crazy way
http://en.wikipedia.org/wiki/Obfuscation_%28software%29

JadedCtrl
Offline
Joined: 08/11/2014

"... unethical, but not a violation [of the GNU GPL]."

alimiracle
Offline
Joined: 01/18/2014

nao One of my friends told me
this bad work is not Spaghetti Code this obfuscated code

"" Spaghetti is when they just suck at writing code, obfuscated is when they deliberately make it bad so you can't understand ""

JadedCtrl
Offline
Joined: 08/11/2014

At least it's technically possible. If it's in a language that even the developer couldn't understand (I.E. binary code) then it's not Free Software.
(And if it's not spaghetti code, why did you call it spaghetti code prior? If I'm not mistaken, spaghetti code is when it's difficult to read because the developer has an intimite relationship with goto. I use goto sometimes- goto and spaghettti code, or even obfuscated code, isn't synonymous.)