this post was submitted on 21 Oct 2025
219 points (96.6% liked)

Programmer Humor

39134 readers
534 users here now

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

Rules:

founded 6 years ago
MODERATORS
 

This is hilarious to me, after using the evil things for years . Of course, there are reasons to use the hated postman and companies (may they be forever cursed). And I plan to keep using them.

But many valid points are made

you are viewing a single comment's thread
view the rest of the comments
[–] RustyNova@lemmy.world 9 points 1 month ago (4 children)

The only point I can say is that editing text on the terminal isn't as simple as a regular text field. And AFAIK the only way to write a query on a regular text editor would be to write it, save to file, run file...

[–] dunz@feddit.nu 9 points 1 month ago

Pressing C-x C-e opens the current commandline in your default editor.

As in what's in your $EDITOR variable. If you haven't touched it, it's most likely Nano or some minimal vim

[–] Ephera@lemmy.ml 8 points 1 month ago

I find that if your command is complex enough that editing it on the terminal becomes annoying, then there's a very high chance you want it in a file anyways, just to document what you did and to allow easily re-running it.

Having said that, you can also have your shell open the command in your editor of choice: https://www.stefanjudis.com/today-i-learned/edit-long-shell-commands-in-your-usdeditor/

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

Couldn't you write in the text editor then copy/paste into terminal without saving? (Who needs documentation anyway)

[–] fibojoly@sh.itjust.works 2 points 1 month ago

I write in Notepad++ then copy paste to WSL.