stingpie

joined 2 years ago
[–] stingpie@lemmy.world 18 points 3 weeks ago (4 children)

I don't understand how not using a keyword to define a function causes the meaning to change depending on imports. I've never run into an issue like that before. Can you give an example?

[–] stingpie@lemmy.world 3 points 3 weeks ago (17 children)

Sorry for being off-topic, but I don't think I understand anarchism as a political philosophy. Isn't anarchism the absence of imposed rules? Communal resources seems to go against that, (it does make sense that the players get to divvy it up, though) and being cursed by the gods feels like a more theocratic thing than anarchist. Im not trying to be rude or anything, I just like to pick people's brains about this stuff.

[–] stingpie@lemmy.world 9 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 8 points 2 months ago* (last edited 2 months ago)

You could do this in basic ASCII, with only three defines. replace "_ " with "{", replace "_;" with "}", and "_" with nothing. If your compiler processes macros in the correct order, it will become valid code. (You would use semicolons as the vertical lines)

[–] stingpie@lemmy.world 22 points 2 months ago

You always have to package good people with secret shames so suspicious players can gauge how good or evil they are. What people feel they need to hide is a good measure of what they consider acceptable. For example, a lawful good character could be ashamed by ignoring a person asking for help, but a lawful evil character might be ashamed that they indiscriminately murdered adults & children.

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

Who'd be the first?

[–] 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 11 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 30 points 4 months ago (1 children)

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

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

Oh boy, can't wait for DOGE to receive all the private info the government stores about me! I'm sure that hiring kids with no experience to program every single automatizable aspect of the government will turn out just fine! 🫠

view more: next ›