4 ms·
Spaghetti code absolutely implies buggy because code != biology. They operate completely differently, in fact potentially opposites (logic is the opposite/compl
by nwienert 6y ago
Spaghetti code absolutely implies buggy because code != biology. They operate completely differently, in fact potentially opposites (logic is the opposite/complement of intuition, ie neural nets, of which our body operates far more like an adaptive/analog machine than a logical one which is brutally unforgiving).
In code, a single typo breaks the whole thing. So spaghetti code by definition is bad and breaks easily.
Sure, we have a fuck ton of complexity. But it’s only messy to us because we don’t understand all the conditions that led to it.
Humans certainly have flaws, but in general we are as well suited to surviving on Earth as you possibly can be, especially on the whole.
I’d say: we’re so so much better designed than any code that exists anywhere today, that it’s a farce. We are literally the opposite of spaghetti code. We’re Antifragile!
- fredsanford 6y agoCode cockroaches?
- ceejayoz 6y ago> In code, a single typo breaks the whole thing. A single typo sometimes breaks the whole thing. Sometimes, it does not. The same is true for genetic mutations in humans - most typos are harmless, a few give us nasty cancers.
- nwienert 6y agoYes, but that process is also what makes us live in the first place (variability). It definitely breaks, but on the majority it works better than anything we know of.
- ceejayoz 6y ago"The spaghetti code works fairly well" is a different claim than "it's not spaghetti code", though. "Spaghetti code" doesn't mean "broken". It means "hard to maintain". Our modern medical system is pretty decent proof that maintaining a human is quite a bit of work.
- yipbub 6y agoMemory leaks, data loss, intermittent bugs, bad edge case handling are all examples of bugs that could result from a typo and not break the whole system outright. Furthermore, there are plenty of examples of single gene mutations/interventions that are deadly/crippling.
- rowanG077 6y agoSpaghetti code is spaghetti code. It refers to to the code being essentially so interwoven with each other that changing a single thing has consequences for many other locations in the code. Spaghetti code can be 100% bug free. There are myriad of examples of our body having feature which you could equate to biological spaghetti.
- TeMPOraL 6y ago> In code, a single typo breaks the whole thing. Only in high-level languages, when you have to deal with grammar. DNA is better compared to binary code fed to a CPU. There is no equivalent of "a single typo breaks the whole thing" there; whatever you feed the CPU, it will execute something. Whether you'll like the results or not is another question - but the same is true with biology. The DNA is there, physically, and it will interact with proteins in one way or another.