this post was submitted on 29 Aug 2023
1779 points (98.3% liked)

Programmer Humor

31793 readers
143 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 11 months ago (1 children)

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

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

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

[–] Jumuta 17 points 11 months ago (5 children)

ERROR: No write since last change

[–] [email protected] 10 points 11 months ago
[–] [email protected] 6 points 11 months ago (1 children)

Oh F it. I’ll just reboot.

[–] MonkCanatella 2 points 11 months ago

I just buy a new computer

[–] [email protected] 6 points 11 months ago (1 children)
[–] [email protected] 7 points 11 months ago (1 children)
[–] [email protected] 8 points 11 months ago (1 children)

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

HEEEEEELLLLPP

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

Open another terminal killall vim

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

a has been squashed

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

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

[–] [email protected] 16 points 11 months 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] 39 points 11 months ago

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

[–] [email protected] 30 points 11 months ago (4 children)

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

[–] Jumuta 18 points 11 months ago (1 children)

i like my arrays starting from 0 thank you

[–] [email protected] 5 points 11 months 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] 2 points 11 months 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 11 months ago (1 children)
[–] [email protected] 5 points 11 months ago

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

[–] [email protected] 8 points 11 months ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 3 points 11 months ago* (last edited 11 months 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 11 months ago

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

[–] [email protected] 23 points 11 months 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] 14 points 11 months 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 11 months ago

"How are you doing this?"

"Yes"

[–] [email protected] 7 points 11 months 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 11 months ago (1 children)

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

[–] [email protected] 12 points 11 months 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.

[–] TopRamenBinLaden 4 points 11 months ago* (last edited 11 months 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] 14 points 11 months ago

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

[–] [email protected] 12 points 11 months ago (3 children)

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

[–] [email protected] 19 points 11 months ago (1 children)
[–] [email protected] 4 points 11 months ago
[–] [email protected] 6 points 11 months 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 11 months ago

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

[–] [email protected] 9 points 11 months ago

I laughed way too hard at this 😂

[–] [email protected] 7 points 11 months ago* (last edited 11 months 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 11 months ago

There's just not a lot of content lol

[–] [email protected] 7 points 11 months 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] 4 points 11 months ago (1 children)
[–] [email protected] 4 points 11 months ago (1 children)

100% agree. Emacs macros take much more space.

[–] [email protected] 6 points 11 months ago (3 children)

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

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)

Vim/Neovim has orgmode too, these days 🤪

[–] [email protected] 3 points 11 months 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 11 months ago* (last edited 11 months 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 ›