this post was submitted on 08 Apr 2024
946 points (98.1% liked)

Programmer Humor

19817 readers
64 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
 
top 50 comments
sorted by: hot top controversial new old
[–] RecluseRamble@lemmy.dbzer0.com 192 points 8 months ago (1 children)

Maybe she just wasn't impressed by your noob skills and is having doubts herself?

[–] blindsight@beehaw.org 30 points 8 months ago

My jaw literally dropped reading that.

I think it's time to go outside.

[–] rhacer@lemmy.world 134 points 8 months ago (5 children)

This relationship can be saved as long as the guy's wife does not start expressing an interest in Emacs. That would, of course, put an end to the relationship, but if she's one of those "Notepad is all I need" types, there is hope this can be worked through.

load more comments (5 replies)
[–] Crow@lemmy.blahaj.zone 122 points 8 months ago (2 children)

"nothing fancy" that's the issue, just some jumping won't impress her; you gotta do the real crazy shit. Friggin "wife not impressed by my cooking? I make a hard boiled egg and she isn't impressed"

load more comments (2 replies)
[–] Blackmist@feddit.uk 106 points 8 months ago

"See if you just learn these 87 simple keyboard shortcuts, you won't need to simply drag with the mouse and cut and paste at all!"

[–] PiratePanPan@lemmy.dbzer0.com 66 points 8 months ago* (last edited 8 months ago) (1 children)
[–] Syringe@lemmy.world 16 points 8 months ago (5 children)

At first, I was mad. Then the slow, sad realization that you're more right than not...

load more comments (5 replies)
[–] tiredofsametab@kbin.run 54 points 8 months ago (9 children)

As someone who's been a software developer for over a decade and in IT even longer, I still don't use vi/vim for anything other than when crontabs have it set as the editor.

[–] SpaceNoodle@lemmy.world 29 points 8 months ago (2 children)
[–] PureTryOut@lemmy.kde.social 27 points 8 months ago (5 children)

export EDITOR=nano.

But (neo)vim is amazing so there is no need to do that.

[–] SpaceNoodle@lemmy.world 17 points 8 months ago

I transfer all my files over to a Windows machine and edit them in Notepad

load more comments (4 replies)
load more comments (1 replies)
load more comments (8 replies)
[–] lseif@sopuli.xyz 46 points 8 months ago (1 children)

ive heard women are into emacs these days

[–] melpomenesclevage@lemm.ee 22 points 8 months ago (1 children)

We are, but, like... Just preferring something else doesn't make vim unimpressive. Silver medal's still pretty fucking prestigious, you know?

load more comments (1 replies)
[–] olafurp@lemmy.world 45 points 8 months ago

I'm sorry but your wife won't be impressed by basic vim motions. You need to learn some more advanced motions to get her wet.

[–] pineapplelover@lemm.ee 41 points 8 months ago (16 children)

I refuse to see how vim and emacs is worth learning. I only use it because that's the only option when editing server files. Beyond this, I couldn't imagine coding in these environments from scratch.

[–] Hexarei@programming.dev 44 points 8 months ago (11 children)

The biggest benefit of (neo)vim is the motions.

Honestly if you don't use vim motions in your ide of choice, you're missing out big time. Being able to do things like "Delete everything inside these parentheses". di( or "wrap this line and the two lines below in a pair of {}" ys2j{ , or "swap this parameter with the next one" cxia]a. with a single shortcut is game changing.

Even just being able to repeat an action a number of times is ridiculously useful. I use relative line numbers, so I can see how many lines away a target is and just go "I need to move down 17 lines" and hit 17j.

Absolutely insane how much quicker it is too do stuff with vim motions than ctrl-shift-arrows and the like.

[–] FizzyOrange@programming.dev 42 points 8 months ago (10 children)

Honestly those things just don't sound like common enough actions to be worth shaving 0.5 seconds off. How often do you know exactly how many lines to move a line by? And how often do you even need to move a line that far?

I still don't buy it.

[–] pearable@lemmy.ml 18 points 8 months ago (8 children)

Relative lines means each line except the one your cursor is on is relative to your current line. Like this:

5 5k jumps here

4

3

2

1

6 your cursor is here

1

2

3

4

5

6

7

8 8j jumps here

The main reason I like it is I don't like mouse ergonomics. Keeping my hands on the keyboard just feels better

load more comments (8 replies)
load more comments (9 replies)
load more comments (10 replies)
[–] YIj54yALOJxEsY20eU@lemm.ee 24 points 8 months ago (17 children)

Go watch a dev who is competent with vim/emacs and you will feel like a 7 year old on a tablet. I didn't give neovim a try until I was thoroughly embarrassed with my ability as a professional text editor (software dev).

Is it the motions you don't like or the editor itself? After 3 days with the motions I could never go back.

[–] FizzyOrange@programming.dev 17 points 8 months ago (5 children)

Are there any videos of this sort of editing, because honestly every single person I've watched use Vim has just been like "oh wait that's the wrong thing.. hold on." constantly. You're going to say "they aren't competent" but that's kind of the point - approximately nobody is competent in Vim because it isn't worth learning.

Even so, I'd be interested if there are any videos of pros doing real editing (not "look what I can do") on YouTube. Anyone know of any?

load more comments (5 replies)
load more comments (16 replies)
[–] fidodo@lemmy.world 22 points 8 months ago (3 children)

I learned vim in college when I needed to edit files over ssh. It's incredibly impressive as far as cli editors go, but I just don't see how it's more productive than a well set up ide with hotkeys.

[–] docAvid@midwest.social 20 points 8 months ago

I barely know Vim, I'm an Emacs guy. Every time I pair with a colleague using an IDE, I find myself having to exercise great restraint, and not complain about how slow and fussy everything they do is. When I've worked with skilled vimmers, I have to admit that they invoke the deep magic nearly as efficiently as I do. Hotkeys? Pshaw, child's play.

load more comments (2 replies)
[–] ICastFist@programming.dev 21 points 8 months ago (1 children)

I only use it because that’s the only option when editing server files.

suggestion 1: use nano. Unlike vi(m) and emacs, it's meant for humans, all the command shortcuts you can execute are listed at the bottom.

suggestion 2: browse the servers in question via your file explorer (sftp://user@server or just sftp://server) of choice or WinSCP if you're on windows, open whatever file with your local graphical text editor of choice.

load more comments (1 replies)
load more comments (12 replies)
[–] penquin@lemm.ee 38 points 8 months ago (3 children)

Stop showing off VIM to your wife would be a good start. I mean, I would do the same if she tried to show off her make tutorials to me.

[–] lobut@lemmy.ca 24 points 8 months ago (2 children)

Make? As in Makefiles or make-up?

[–] puppy@lemmy.world 21 points 8 months ago (1 children)

Makefile obviously. What the heck is a "make-up"?

[–] OneCardboardBox@lemmy.sdf.org 23 points 8 months ago (6 children)

make up is my build command for pushing to prod

load more comments (6 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] Random_German_Name@feddit.de 34 points 8 months ago (7 children)
[–] Midnitte@beehaw.org 27 points 8 months ago

He tried, but he doesn't know how to exit.

[–] kamen@lemmy.world 20 points 8 months ago (1 children)
[–] Dempf@lemmy.zip 17 points 8 months ago (4 children)
load more comments (4 replies)
load more comments (5 replies)
[–] 0nekoneko7@lemmy.world 34 points 8 months ago

Maybe she's into VSCode guys. So try VSCode with vim plugin.

[–] pearable@lemmy.ml 29 points 8 months ago

Skill issue

[–] Foofighter@discuss.tchncs.de 28 points 8 months ago
[–] XTL@sopuli.xyz 27 points 8 months ago (2 children)

Realising that your partner doesn't care about you after 10+ years can indeed be hard.

load more comments (2 replies)
[–] PainInTheAES@lemmy.world 24 points 8 months ago

Hey at least you showed her your vim and not your nano or micro

[–] 0x01@lemmy.ml 24 points 8 months ago

Guy shoulda tried emacs instead, wife is probably an elitist

[–] chris@lem.cochrun.xyz 24 points 8 months ago (2 children)

Emacs can do that obviously. And everything else.

[–] joshcodes@programming.dev 41 points 8 months ago

Relevant xkcd

[–] CameronDev@programming.dev 23 points 8 months ago (2 children)

C-d to initiate a divorce. So convenient.

load more comments (2 replies)
[–] learningduck@programming.dev 23 points 8 months ago

You have to adopt Emacs and show her that she can even play Tetris on it.

[–] BlushedPotatoPlayers@sopuli.xyz 23 points 8 months ago

Have you tried tiny macros with q and @? Syntax highlighting? Z-folds? Or turn vi into a hex editor with :%!xxd ?

If that doesn't work, try :divorce

[–] ikidd@lemmy.world 20 points 8 months ago

That's because her bull uses Emacs.

[–] fiddlestix@lemmy.world 18 points 8 months ago (1 children)
load more comments (1 replies)
[–] victorz@lemmy.world 17 points 8 months ago

Would've loved to see which community they posted to. RelationshipAdvice?

[–] PhlubbaDubba@lemm.ee 16 points 8 months ago

Show her you know how to exit vim and she'll instantly be naked and on the bed

[–] KillingTimeItself@lemmy.dbzer0.com 16 points 8 months ago (4 children)

sit your wife down in front of vim, and make her use it.

It'll make more sense immediately.

If not, divorce.

load more comments (4 replies)
load more comments
view more: next ›