this post was submitted on 29 Aug 2023
1827 points (98.4% liked)

Programmer Humor

32464 readers
702 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 99 points 1 year ago (1 children)

Not a don't know how to exit vim joke? Refreshing!

[–] [email protected] 43 points 1 year ago (1 children)

I didn't think that kind of joke would ever :q

[–] [email protected] 17 points 1 year ago (5 children)

ERROR: No write since last change

[–] [email protected] 10 points 1 year ago
[–] [email protected] 6 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago (1 children)
[–] [email protected] 8 points 1 year ago (1 children)

Ctrl-C Ctrl-C Ctrl-C Ctrl-C

HEEEEEELLLLPP

load more comments (1 replies)
[–] [email protected] 6 points 1 year ago (1 children)

Oh F it. I’ll just reboot.

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago

Open another terminal killall vim

load more comments (1 replies)
[–] [email protected] 55 points 1 year ago (1 children)
[–] [email protected] 16 points 1 year ago

a has been squashed

[–] [email protected] 53 points 1 year ago (1 children)

Vim keybindings aren't memorization as much as they are muscle memory.

[–] [email protected] 16 points 1 year ago

So true- I was talking to someone about vim the other day and wanted to tell them the keybinding for something I use daily, but had no idea what it was without a keyboard there for reference.

[–] [email protected] 41 points 1 year ago

JSON is the worst name to use in this comic since it fits right in there.

[–] [email protected] 33 points 1 year ago (4 children)

May I introduce you to Neovim? It has Lua. Learn Lua now.

[–] [email protected] 18 points 1 year ago (1 children)

i like my arrays starting from 0 thank you

[–] [email protected] 5 points 1 year ago (1 children)

I like my arrays iterable, that’s all I need to know. No matter if the index is 0, 1, 'foo', or a serialized array (oh wait, no, that’s PHP).

[–] [email protected] 3 points 1 year ago (3 children)

That's not an array, that's a string.
Someone is converting an array to a string and is using that as key.

A lot of languages could do it, and none of them should.

load more comments (3 replies)
[–] [email protected] 13 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

Learn Lua on Hawaii just to configure your editor! Join the group!

[–] [email protected] 9 points 1 year ago (2 children)

I know Lua. Lua is why I won't use neovim.

load more comments (2 replies)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I love Lua. Can I do anything useful with it?

I don't know a language. Some sort of decision freeze. I've tried Lua, C#, Linux BASH, and Java. I went from learning C# to homelabbing proxmox. I have more success learning IT stuff.

Also I haven't used Vim or Emacs, but I used to rebind ALL of my keys in every game I played. I deeply love keybinding and using the keyboard rather than the mouse.

[–] [email protected] 30 points 1 year ago

This is still my favourite vim-related meme. So fucking funny

[–] [email protected] 23 points 1 year ago (3 children)

This feels like me, especially when I have six different splits in a full screen terminal screen between vim and tmux and someone asks how I'm doing that.

[–] [email protected] 15 points 1 year ago

I work primarily in tmux and even in an IT department, people regularly say something along the lines of "woah are you hacking?"

[–] [email protected] 14 points 1 year ago

"How are you doing this?"

"Yes"

[–] [email protected] 7 points 1 year ago

At times, I've also juggled (in addition to vim and tmux) hotkeys for my current tiling WM of choice and extra hotkeys to swap between machines via barrier. I'm not sure how I'm able remember what I had for breakfast, much less someone's name.

[–] [email protected] 16 points 1 year ago (2 children)

I have no idea what this is about but I love the meme template.

[–] [email protected] 12 points 1 year ago (1 children)

You may enjoy Vim Adventures to get some context - and it's pretty fun. It teaches the wild and powerful keybindings for the Vim text editor, but in the form of an online typing game.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Vim Adventures is cool, but you can't get very far into it without a subscription. PacVim is free and also effective at teaching some Vim commands.

load more comments (1 replies)
[–] [email protected] 11 points 1 year ago

Vim is a text editor that works in a command line and therefore doesn't require a graphical interface or windowing system, or anything like a mouse or trackpad or touch interface. It has a whole system of using the keyboard to do a bunch of things really efficiently, but the user has to actively go and learn those keyboard shortcuts, and almost an entire language of how to move the cursor around and edit stuff. It's great once you learn it, so it creates a certain type of evangelist who tries to spread the word.

This meme template is perfect, because the vim user really did learn a bunch of stuff, and then wants to try to convince other people to do the same, using a pretty unpersuasive rationale (not using a mouse while programming).

[–] [email protected] 14 points 1 year ago

This is the best vim meme I've ever seen. I'm dead

[–] [email protected] 12 points 1 year ago (3 children)

Speaking of, can anyone recommend an AutoHotKey alternative for Linux on Wayland?

[–] [email protected] 6 points 1 year ago

There's also autokey, similar to autohotkey but with Python. I haven't had to use it for much but I didn't have any issues when I used it for some RuneScape autogrinding

[–] [email protected] 2 points 1 year ago

I juat use Plasma's custom shortcuts, works really well.

[–] [email protected] 9 points 1 year ago

I laughed way too hard at this 😂

[–] [email protected] 7 points 1 year ago (1 children)

Had this been emacs it would have been funny. But with Vim you don't remember key bindings. Vim has operations and motions. Few od each and they are combined.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

No, not really. People say that Emacs is self-documenting for a reason. You only need to remember how to ask Emacs for information, whatever that information may be. Commands, key bindings, manuals, etc.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

That meme's been on the front page every day for the last week. Did karma farming bots make their way here?

[–] [email protected] 4 points 1 year ago

There's just not a lot of content lol

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago (1 children)

100% agree. Emacs macros take much more space.

[–] [email protected] 6 points 1 year ago (3 children)

...but we have org-mode so we can take notes about things like friends and family.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

Vim/Neovim has orgmode too, these days 🤪

[–] [email protected] 3 points 1 year ago

I felt a pang of regret in reading this - about the grain of truth for it in my life.

I've filed that pang of regret in an appropriate text file for consideration later.

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

It's only like that when you've learned them recently. Now I need to learn Rust. You also have to remember a ton of shortcuts in many GUI editors.

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