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?
- 0 Posts
- 30 Comments
stingpie@lemmy.worldto Programmer Humor@programming.dev•Mom can we have Scratch? We have scratch at home. Scratch at home:8·2 months agoYou 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.worldto Programmer Humor@programming.dev•The devil said, “Take this glyph-laden grimoire and try to render it cross-platform.”1·3 months agoAre you being sarcastic? I can’t tell.
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?
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.
Anything that is turning complete & has enough ram can emulate x86, and an x86 emulator can boot Linux.
How can you tell this is AI? I don’t see any of the characteristic AI probabilistic blurs, and the reflections & caustics seem right.
stingpie@lemmy.worldto Programmer Humor@programming.dev•An extremely crude comic about programming languages4·8 months agoYeah, I’m not a model for good programing. I don’t program professionally, I just like challenging myself in my hobby projects.
stingpie@lemmy.worldto Programmer Humor@programming.dev•An extremely crude comic about programming languages5·8 months agoNo, I don’t do anything professionally. I just enjoy challenging myself.
stingpie@lemmy.worldto Programmer Humor@programming.dev•An extremely crude comic about programming languages27·8 months agoI am both the left guy and right guy. If you can’t program without using a memory safe language, it’s a skill issue. But I also don’t want to switch to rust because I like the challenge of manual memory management. (Also rust’s syntax and semantics looks like it was designed by a monkey attacking a typewriter.)
stingpie@lemmy.worldto Programmer Humor@programming.dev•It's official, Rust is an anti C/C++ elitist slur194·10 months agoRust is already obsolete, compared to Stingpie’s excellent assembly language, paired with object oriented programming!
This is the SEALPOOP specification:
- an assembler must create a binary program which satisfies the programmer’s specifications.
- a compiler must translate the programmer’s code into SEALPOOP’s parallel instruction set source, which should be fed into the SEALPOOP PISS assembler.
stingpie@lemmy.worldto Technology@lemmy.world•A courts reporter wrote about a few trials. Then an AI decided he was actually the culprit.English10·10 months agoI don’t think the Chinese room is a good analogy for this. The Chinese room has a conscious person at the center. A better analogy might be a book with a phrase-to-number conversion table, a couple number-to-number conversion tables, and finally a number-to-word conversion table. That would probably capture transformer’s rigid and unthinking associations better.
stingpie@lemmy.worldto Technology@lemmy.world•A courts reporter wrote about a few trials. Then an AI decided he was actually the culprit.English3·10 months agoNo, you’re thinking of the first scene of the movie where a fly falls into the teletype machine and causes it to type ‘tuttle’ instead of ‘buttle’.
Ok. I’m getting tired. You bested me this round. Have a nice day.
You say it’s the goal of the proletariat to protect the revolution, but why would they? Each proletariat would benefit from the revolution’s failure- they could live better lives as the bourgeois. You talk about the proletariat like they are some monolithic entity, with a single mind and goal. You talk big about helping the individual, but cannot see beyond their class. The proletariat is a person, with needs, desires and opinions. What father would hold the abstract ideals of the “revolution” over the life of his sick daughter? Any father I know would do anything for the safety of his children, even hoard life-saving medicine from others.
Communist logix
we need to abolish private property so everybody has equal power.
we class of people to maintain public ownership
After all, how can we enforce public ownership without a more powerful class of enforcers?
stingpie@lemmy.worldto Technology@lemmy.world•How can we return to techno-optimism?English2·10 months agoI always find it very funny when someone suggests anarcho-something as a solution to all of capitalism’s problems. How exactly do you plan to enforce that? Do you think social pressure & shunning will do anything more than create a class of extremists with an oppositional philosophy?
stingpie@lemmy.worldto World News@lemmy.world•Indian airline tests feature that lets women book seats away from menEnglish2·11 months agoWhat do you mean by offensive?
Whom is this directed to?
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?