1008
What we really mean (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by jeff@programming.dev to c/programmer_humor@programming.dev

IMHO, it's a horrible hack that is just broken. It's obscure and we need to rewrite it because it has a bad structure. ^X^Cquit^[ESC][ESC]^C

all 39 comments
sorted by: hot top controversial new old
[-] Kerb@discuss.tchncs.de 38 points 2 years ago

I'm one of those people who think that Perl is a write-only language
-Linus torvalds

[-] jim@programming.dev 35 points 2 years ago* (last edited 2 years ago)

"I can read this Perl scrip"t should translate to "I'm lying".

[-] magmaus3@szmer.info 29 points 2 years ago

ESC + :q!

ESC to enter normal mode (if you're in a different mode like insert) : (colon) to enter commands q to quit ! (or a) to use the quit command withiut keeping any changes

[-] sci@feddit.nl 21 points 2 years ago

He's speaking the language of the gods..

[-] Lifter@discuss.tchncs.de 4 points 2 years ago

ESC + (shift) ZZ is faster and also saves your changes!

[-] magmaus3@szmer.info 1 points 2 years ago

good to know :3

[-] ObsidianBlk@lemmy.world 21 points 2 years ago

The first phrase spoken when opening a new project, be it yours or someone elses... "What the fuck..."

[-] Bazoogle@lemmy.world 7 points 2 years ago

What fucking idiot wrote this? Looking at your own code from 6 months ago

[-] CookieOfFortune@lemmy.world 19 points 2 years ago

I can't read this perl script may also apply to something you wrote last week.

[-] a253040@midwest.social 15 points 2 years ago

I'm absolutely guilty of self-documenting code, but mostly because I'm sick of everyone else's lying comments.

[-] Gentoo1337@sh.itjust.works 13 points 2 years ago

"The reason I use Perl is because I wanna write scripts that no one can read and no one can understand so that I can keep my job"

[-] KnorrFG@programming.dev 11 points 2 years ago* (last edited 2 years ago)

IMHO it's a complex, temporary work around with a few issues.

Also vim > emacs

[-] b3nsn0w@pricefield.org 8 points 2 years ago

i use nano and i will die on this hill

[-] astropenguin5@lemmy.world 2 points 2 years ago

Nano is the only one I know how to use lol (assuming we're talking about in-terminal text editors)

And i have used it exclusively for editing Minecraft and KSP server config files

Im definitely a programmer :P

[-] nyan@lemmy.cafe 9 points 2 years ago

Hey, now. It is possible to write readable Perl code—it's just less interesting that way. 😜

[-] VoidHeathen@mujico.org 8 points 2 years ago

Self documenting: my code doesn't NEED comments

[-] ransom@lemmy.dbzer0.com 7 points 2 years ago
[-] Atiran@lemm.ee 5 points 2 years ago

Sometimes I like to pack the most functionality into a single, hard to read one-liner, just for fun. In review I’ll admit “it’s a little bit abstruse”.

[-] lig@social.fossware.space 5 points 2 years ago

The Perl one has got me:)

[-] alr@programming.dev 3 points 2 years ago

Of course, the correct way to quit Vi is ^Zpkill vi.

[-] csm10495@sh.itjust.works 1 points 2 years ago

Lol I've done this before!

[-] dinodroid@programming.dev 2 points 2 years ago

Good reference with lots of truth. Maybe, I should print it before having a meeting with other tech teams.

[-] Raiden11X@programming.dev 2 points 2 years ago

Emacs babyyyy

this post was submitted on 04 Jul 2023
1008 points (100.0% liked)

Programmer Humor

25495 readers
1758 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS