stingpie

joined 2 years ago
[–] stingpie@lemmy.world 8 points 1 month ago (4 children)

After reading a lot of comments in this thread, I'm not sure I know what spaghetti code is. I thought spaghetti code was when the order of execution was obfuscated due to excessive jumps and GOTOs. But a lot of people are citing languages without those as examples of spaghetti code. Is this just a classic "I don't like this programming language, and I don't know much about it." Or is there something I'm missing?

[–] stingpie@lemmy.world 1 points 3 months ago (1 children)

Are you being sarcastic? I can't tell.

[–] stingpie@lemmy.world 3 points 3 months ago (1 children)

That's not what I'm saying at all. What I'm trying to say is that I can't think of any way a program working with numeric types could start outputting string types. I could maybe believe a calculator program that disables exceptions could do that, but even then, who would do that?

[–] stingpie@lemmy.world 2 points 3 months ago (5 children)

I refuse to believe the python one ever happens. Unless you are importing libraries you don't understand, and refuse to read the documentation for, I don't see how a string could magically appear from numeric types.

[–] stingpie@lemmy.world 1 points 3 months ago (1 children)

Anything that is turning complete & has enough ram can emulate x86, and an x86 emulator can boot Linux.