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
- 59 Comments
stingpie@lemmy.worldto Programmer Humor@programming.dev•Mom can we have Scratch? We have scratch at home. Scratch at home:8·1 month 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 retrocomputing@lemmy.sdf.org•Someone Experimented With a 1997 Processor and Showed That Only 128 MB of Ram Were Needed to Run a Modern AI3·2 months agoI would be so much more positive about this if you linked the actual source, not just an article that regurgitates everything word for word. Also, why is this article on ‘indian defense review?’ India and Pakistan nearly had a nuclear war this morning.
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.
stingpie@lemmy.worldto unix_surrealism@lemmy.sdf.org•New 9front release: THE FRONT END OF TOMORROWEnglish1·3 months agoThis is a good first step, but power64 and itanium are antiquated ISAs, and should be removed. The only processor that is capable of all the advanced features of plan9 is the TMS99105, and working on any other architecture is a waste of time and effort.
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.
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! 🫠
stingpie@lemmy.worldto unix_surrealism@lemmy.sdf.org•land of the primordial machine p-1English10·4 months agoCan’t wait for part -253!
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.)
What would RTFM potions do? Are they like adderall?
You can’t choose where you grow up. :(
stingpie@lemmy.worldto Ask Lemmy@lemmy.world•What's a technology that was cooler in its older iterations?33·8 months agoCountercounterpoint: Emulation is not as cool as the real thing. Especially for the PSP because it was basically a tiny DVD player.
stingpie@lemmy.worldto Not The Onion@lemmy.world•Xi and Mao replace Jesus and Mary in Chinese churchesEnglish11·9 months agoSorry guys, this is my experimental atheist AI. I never gave it any examples of christians being oppressed, so it kinda spits out gibberish when it sees any.
I’m not sure whether techno mage & her friends really exist in canon, or are just spooky tales told by the MATA seniors to scare interns.
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?