this post was submitted on 29 Aug 2023
1409 points (98.2% liked)

Programmer Humor

32023 readers
705 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
[–] TheOhNoNotAgain@lemmy.world 76 points 1 year ago (1 children)

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

[–] luciferofastora@discuss.online 29 points 1 year ago (1 children)

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

[–] Jumuta@sh.itjust.works 15 points 1 year ago (4 children)

ERROR: No write since last change

[–] SiblingNoah@lemmy.world 6 points 1 year ago (1 children)

Oh F it. I’ll just reboot.

[–] MonkCanatella@sh.itjust.works 2 points 1 year ago

I just buy a new computer

Open another terminal killall vim

[–] p1mrx@sh.itjust.works 1 points 1 year ago

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
:q

[–] zephyr@lemmy.world 45 points 1 year ago (1 children)

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

[–] kmacmartin@lemmy.ca 14 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.

[–] curiousaur@reddthat.com 30 points 1 year ago

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

[–] Dirk@lemmy.ml 24 points 1 year ago (4 children)

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

[–] Jumuta@sh.itjust.works 12 points 1 year ago (1 children)

i like my arrays starting from 0 thank you

[–] Dirk@lemmy.ml 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).

[–] lord_ryvan@ttrpg.network 2 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)
[–] j4k3@lemmy.world 8 points 1 year ago (1 children)
[–] Dirk@lemmy.ml 4 points 1 year ago

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

[–] mdhughes@lemmy.ml 7 points 1 year ago (1 children)

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

[–] PlexSheep@feddit.de 1 points 1 year ago (1 children)

It's not so Bad if you don't develope plugins. And vimscript is still there

[–] mdhughes@lemmy.ml 3 points 1 year ago

Or I can use actual Vim (RIP Bram) and have new vimscript, and no Lua.

[–] Franzia@lemmy.blahaj.zone 2 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.

[–] ceuk@feddit.uk 22 points 1 year ago

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

[–] LostDeer@infosec.pub 18 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.

[–] SaltyIceteaMaker@lemmy.ml 11 points 1 year ago

"How are you doing this?"

"Yes"

[–] Ricaz@lemmy.ml 7 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?"

[–] sLLiK@lemmy.ml 4 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.

[–] denast@lemmygrad.ml 11 points 1 year ago (1 children)

I prefer the version of this meme where he tries to :q! the conversation by saying it

[–] _thisdot@infosec.pub 2 points 1 year ago

Colon Q Exclamation Mark!!

[–] Bonifratz@feddit.de 11 points 1 year ago (2 children)

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

[–] MajorHavoc@lemmy.world 11 points 1 year ago (2 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.

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.

[–] CannotSleep420@lemmygrad.ml 1 points 1 year ago

That game helped me a lot. It's a shame you can only use it for 6 months after paying for it.

[–] BarryZuckerkorn@beehaw.org 9 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).

[–] lolgcat@lemmy.ml 10 points 1 year ago

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

[–] HiddenLayer5@lemmy.ml 7 points 1 year ago (2 children)

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

I laughed way too hard at this 😂

[–] MeanEYE@lemmy.world 5 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.

[–] lukas@lemmy.haigner.me 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.

[–] sznio@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

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

[–] Andrew15_5@mander.xyz 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.

[–] calzone_gigante@lemmy.eco.br 1 points 1 year ago

That's why i like command pallets. Just fuzzy search the command, and if you do the action a lot bind a key combination.

[–] mounderfod@lemmy.sdf.org 3 points 1 year ago (1 children)
[–] Haus@kbin.social 3 points 1 year ago (1 children)

100% agree. Emacs macros take much more space.

[–] wewbull@feddit.uk 2 points 1 year ago (2 children)

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

[–] sLLiK@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

Vim/Neovim has orgmode too, these days 🤪

[–] mounderfod@lemmy.sdf.org 1 points 1 year ago

unfortunately no Jason mode :p

load more comments
view more: next ›