847
top 37 comments
sorted by: hot top new old
[-] gray@lemmy.ml 65 points 1 week ago

"The best code is no code" I say to myself before I take the fifth toilet break of my workday

[-] wreckedcarzz@lemmy.world 10 points 1 week ago

Shitty day?

You could say that.

[-] atopi@piefed.blahaj.zone 5 points 1 week ago

has no bugs, extremely easy to make, very easy to read

what is there to hate

[-] conartistpanda@lemmy.world 5 points 1 week ago

No maintenance, no comment typos, no regressions, no legal/license drama, no security breaches, no hosting costs, no issues or feature requests...

[-] funkless_eck@sh.itjust.works 53 points 1 week ago

we had a (creative) writing workshop once where they said "write the worst possible dialogue you can!" with the idea that then we would read them back, and it'd be stuff like "I love you! I'd die for you!" "But you killed for me - that's horrible!" etc and they'd point out it wasn't actually that bad with a few tweaks and a good performance.

I kinda saw that coming so I wrote stuff like,

"Zbijgl, my old fart, my favmamort n n n n number is 183442356742255214676213566873225566333543"

"But my cat food is singing, it goes anganganganganganganganganganga"

and they were forced to concede that yes, it is possible to write truly bad dialogue.

[-] tal@lemmy.today 14 points 1 week ago

β€œZbijgl, my old fart, my favmamort n n n n number is 183442356742255214676213566873225566333543”

https://www.workableweb.com/_pages/tips_how_to_write_good.htm

How To Write Good

Lesson 1 - The Grabber

The "grabber" is the initial sentence of a novel or short story designed to jolt the reader out of his complacency and arouse his curiosity, forcing him to press onward. For example:

"It's no good, Alex," she rejoined, "Even if I did love you, my father would never let me marry an alligator."

The reader is immediately bombarded with questions, questions such as "Why won't her father let her marry an alligator?" "How come she doesn't love him?" and "Can she learn to love him in time?" The reader's interest has been "grabbed"!

[-] Nils@lemmy.ca 3 points 1 week ago

Wow, thanks for the link, I bookmarked it. When it mentioned it was a satirical article, I was not expecting a masterclass. πŸ˜…

Michael O'Donoghue was a writer and editor -- as well as an author, playwright, radio writer, filmmaker, satirist, scribe, essayist and commentator. He was an editor and writer at the original National Lampoon, and a writer on Saturday Night Live in its early years.

[-] Nils@lemmy.ca 10 points 1 week ago* (last edited 1 week ago)

I imagine you haven't dabbled in Korean web novels, or some humour/parody comics.

Your Zbijgl and cat food lines are better than a lot of stuff I read before. Honestly, in the right context, they could work on something from Hitchhiker's Guide to The Shining.

I can almost hear them in an episode of JoJo or Cromartie High School

my favmamort

πŸ˜… Sounds cute.

Edit: today I will call someone my favmarmot to see their reaction.

[-] wreckedcarzz@lemmy.world 4 points 1 week ago

I know you referred to those two separately, but now they are canonically now a crossover

[-] Nils@lemmy.ca 5 points 1 week ago

Not sure if you mean the crossover between Jojo and Cromartie, but I could only think of that conversation in the train, going like the root comment said.

Sorry, I am still bad (and lazy) at Krita.

[-] W98BSoD@lemmy.dbzer0.com 2 points 1 week ago

Better than I am

[-] Zaphod@discuss.tchncs.de 2 points 1 week ago

I was thinking the same. Zbijgl could be a quote from Hitchhiker's Guide to the Galaxy

[-] ChaoticNeutralCzech@feddit.org 7 points 1 week ago

Vogon poetry

[-] lime@feddit.nu 20 points 1 week ago

my second worst script so far is probably the one i had to slow down in an attempt to not crash a hospital.

[-] slazer2au@lemmy.world 9 points 1 week ago

Did your worse one crash the hospital?

[-] lime@feddit.nu 17 points 1 week ago* (last edited 1 week ago)

no, i was hired because the previous guy did.

my worst one allowed me to do a python import on an excel sheet.

[-] alsaaas@lemmy.dbzer0.com 7 points 1 week ago

I physically recoiled at this

[-] FauxLiving@lemmy.world 7 points 1 week ago

You can't work in the corporate world without being forced to do unspeakable things with an Excel spreadsheet.

[-] wreckedcarzz@lemmy.world 3 points 1 week ago

Oh yeah baby, you like that, you want all my formulas, don't you? So many sheets that we'll need an ultrawide to view all of you.

[-] Gust@piefed.social 1 points 1 week ago

I get flashbacks if I ever see VBA excel syntax in the wild. The horror... the horror

[-] Maxxie@piefed.blahaj.zone 14 points 1 week ago* (last edited 1 week ago)

Wdym its the best script. No dependencies, zero maintenance cost, extremely small attack surface.

[-] slazer2au@lemmy.world 8 points 1 week ago

No error handling, no input validation.....

[-] poolcritter@pawb.social 9 points 1 week ago

There aren't any unhandled errors! There aren't any unvalidated inputs!

[-] Coolcoder360@lemmy.world 5 points 1 week ago

Don't need input validation if you don't take input!

[-] elephantium@lemmy.world 9 points 1 week ago

Oh, come on. They can't ALL be the worst code I've ever written!

[-] HeyThisIsntTheYMCA@lemmy.world 1 points 1 week ago

I double dog dare you to teach high school html and say that again

[-] elephantium@lemmy.world 2 points 1 week ago
[-] Zink@programming.dev 6 points 1 week ago

I think we would flip it around, like:

Oh no, the BEST code ever written is the stuff that's never written.

Well, maybe that's second best only to deleting code. Why stop at zero when your amount written can go negative?

Eh, unless you disqualify the latter because it's actual work making the project or product better. I leave that up to the reader.

[-] HeyThisIsntTheYMCA@lemmy.world 4 points 1 week ago

Nah I'm in this meme and I don't mind. Some validation is nice

[-] howdy@lemmy.ml 3 points 1 week ago

hell yeah brother

[-] Inucune@lemmy.world 3 points 1 week ago

Don't like my code? Comments are there, you do better.

[-] FUsername@feddit.org 1 points 1 week ago

Well, you can comment the shit out of your code, but if you use regex, you either can read it without any comment or you even can't with one.

[-] Gutek8134@lemmy.world 3 points 1 week ago

Eh, as long as it works and is readable enough

My favorite script is the one I wrote to keep my session from timing out due to inactivity. It pressed a null key once every minute.

this post was submitted on 16 May 2026
847 points (99.3% liked)

linuxmemes

31535 readers
453 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS