620
emacs (programming.dev)
top 50 comments
sorted by: hot top controversial new old
[-] cyborganism@lemmy.ca 58 points 1 year ago

Emacs sucks. Vim is so much better. And vscode is okay.

Go ahead. Down vote me. I don't care. This isn't Reddit lol.

[-] jack@monero.town 15 points 1 year ago

Vim is a pain to configure

[-] martinb@lemmy.sdf.org 10 points 1 year ago

Try Lunarvim, it's neovim with a bunch of great Plugins and configuration settings out of the box.

[-] expr@programming.dev 6 points 1 year ago

Vim has vim9 script now which is very similar to common scripting languages like Typescript.

Vim also doesn't need tons of configuration.

load more comments (1 replies)
[-] Cube6392@beehaw.org 6 points 1 year ago

I'm going to give what I've realized newer folks to Vim think is a scorching hot take: VimL is nice. Theyre the same editor commands you use in your day to day life, even if you're using NeoVim + Lua, just all written out in a file.

That said, using NeoVim + Lua makes it far easier to organize your config, which also makes it easier to write more complex configs. It's like the difference between building a shed around back for your home office vs building a cathedral. Its fine to work in a shed, but once you know you can build a cathedral, you're kinda tempted to just up and do it

load more comments (1 replies)
[-] crandel@programming.dev 7 points 1 year ago

Vim sucks, Emacs is the best editor in the world

[-] cyborganism@lemmy.ca 3 points 1 year ago

Nuh uh!!!! Vim is better! So much better!!!! Emacs sucks balls!

[-] Vorticity@lemmy.world 6 points 1 year ago

I use vscode with vim key bindings. It's amazing!

[-] KSPAtlas@sopuli.xyz 2 points 1 year ago

I use both emacs and vim, each have their own use cases

load more comments (3 replies)
[-] darcy@sh.itjust.works 47 points 1 year ago
[-] mutter9355@discuss.tchncs.de 14 points 1 year ago
[-] darcy@sh.itjust.works 11 points 1 year ago
[-] amycatgirl 9 points 1 year ago

enlightened echo user

[-] MsPenguinette@lemmy.world 44 points 1 year ago* (last edited 1 year ago)

My serial killer trait is that I use vi instead of vim cause I'm too lazy to type the extra character. Tho if for some reason, vi tab completed to vim, I'd probably use vim

alias v=vim. There, just saved you two keystrokes.

[-] MsPenguinette@lemmy.world 17 points 1 year ago

{vi} = 2 {vim} = 3 {v=vim} = 5

I'd need to run vi at least 5 times to have a net gain in saving keystrokes. I'm typically in effemerial systems created by the users of our env, so rarely am I going to gain those strokes back

But also, why am I trying to apply logic to this? I'll often cat a file before editing it. This shit is just illogical idiosyncrasies I've picked up over the years. I'm probably creating posthoc justifications for insane things I do cause it's hard to override muscle memory

[-] emptiestplace@lemmy.ml 8 points 1 year ago
[-] MsPenguinette@lemmy.world 2 points 1 year ago

Here's a link I found that might be good if you are interested in more:

https://cloudnativenow.com/topics/ephemeral-idempotent-and-immutable-infrastructure/

https://guymorton.medium.com/persistent-and-ephemeral-infrastructure-as-code-in-aws-42b33939dcf1

There are different levels of effemeriality. The simplest example I use daily would be an autoscaling group in AWS. Especially if you use Spot Instances to save money, thi gs may scale in and out whenever.

So if a development team creates a new autoscaling group and I need to get into an instance to test something, unless I add stuff to their IaC, I'm stuck with their configuration. I need to assume that every time I ssh into one of those instances, it's a brand new instance. But it'd be a big challenge for me to go to their repo and make a PR to alias a command whenever an instance in that resource is created

Stuff can be even more temporary if it's something like an ECS task which creates a container with a read only filesystem only when a task is needed to be done. But I don't want to get too deep in the weeds (or deeper than I already have)

terraform workspace will at least stick around for a while so you might be in and out of the same system multiple times.

[-] Spider89@lemmy.world 25 points 1 year ago

I use nano.

Nano >> vi/vim, emacs

[-] mosiacmango@lemm.ee 12 points 1 year ago* (last edited 1 year ago)

4 letters < 2 letters.

vi forever.

[-] Spider89@lemmy.world 8 points 1 year ago
[-] Prunebutt@feddit.de 14 points 1 year ago

Not if you need any work done.

[-] BeigeAgenda@lemmy.ca 6 points 1 year ago

That's when you switch to a IDE.

[-] Prunebutt@feddit.de 5 points 1 year ago

Neovim and emacs are IDEs.

[-] BeigeAgenda@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

Yes, if you can remember the shortcuts...

M-x IDE

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
[-] brodoshmodo@lemmy.world 8 points 1 year ago

Ok but why use nano when micro literally exists

[-] LinuxSBC@lemm.ee 16 points 1 year ago
[-] ekky43@lemmy.dbzer0.com 19 points 1 year ago* (last edited 1 year ago)

Aliases are just bloat! You can do just fine without them. Heck, why not remove the ASCII conversion and read everything in hex or binary?

It's all about SPEED and efficiency here!

[-] MsPenguinette@lemmy.world 2 points 1 year ago

I'm in DevOps so I'm in a lot of effemerial systems so in practice, I will run into systems where profile hasn't been set up. Tho I do like the idea of making sure all systems properly have that aliased cause it'd be serial killer vibes to spend hours of time to make sure that I can save a keystroke.

Tho it'd never make it through PR. Also, wild require explaining to my coworkers that I do this

[-] expr@programming.dev 11 points 1 year ago

Most all distros alias vi to vim already, so it makes no difference.

load more comments (1 replies)
[-] netchami@sh.itjust.works 5 points 1 year ago

Vi is totally fine to quickly make small changes to e.g. a config file on a server. I wouldn't like to program in vi though.

load more comments (8 replies)
[-] TheSlad@sh.itjust.works 37 points 1 year ago

Meanwhile webstorm/intelliJ users:

signature look of superiority

empty wallet

load more comments (1 replies)
[-] Zuberi@lemmy.dbzer0.com 30 points 1 year ago

Codium you dorks

[-] TheSecurityNinja@sh.itjust.works 27 points 1 year ago

VS code is pretty amazing though

[-] narc0tic_bird@lemm.ee 18 points 1 year ago

You guys recommend VSCodium over VSCode. Is there a working sync solution similar to the one built into VSCode where you can sync all settings and extensions between machines?

[-] QuazarOmega@lemy.lol 17 points 1 year ago

Yes! It's this one https://open-vsx.org/extension/zokugun/sync-settings I really like it for using a normal repository over a "gist" and so you can also use any git server provider, I think the developer is also a contributor of VSCodium itself

[-] bloopernova@programming.dev 17 points 1 year ago

I generally code in VSCode, and manage org-roam notes and information in Emacs. Works well enough for me.

[-] netchami@sh.itjust.works 8 points 1 year ago

Any particular reason why you don't code in Emacs? Since you already set up Org Mode and Org Roam, I'm sure you know how the configuration works and how to write some Elisp. It's actually not that much work to set up all the things you would need for programming (lsp-mode, etc.)

[-] bloopernova@programming.dev 2 points 1 year ago

I guess I just preferred VSCode for coding? Every time I've tried to use Emacs for my coding workflows I've given up, I think I'm just used to VSCode in that respect. It is weird, I know.

[-] mykneedoesnthurt@kbin.social 5 points 1 year ago

What's a plugin? What's VSCode?

DBase IV does not need any of this.

load more comments
view more: next ›
this post was submitted on 08 Oct 2023
620 points (100.0% liked)

Programmer Humor

19623 readers
5 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 1 year ago
MODERATORS