this post was submitted on 21 Feb 2024
-1 points (0.0% liked)

Programmer Humor

31217 readers
36 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 4 months ago

The single best thing I like about Zed is how they unironically put up a video on their homepage where they take a perfectly fine function, and butcher it with irrelevant features using CoPilot, and in the process:

  • Make the function's name not match what it is actually doing.
  • Hardcode three special cases for no good reason.
  • Write no tests at all.
  • Update the documentation, but make the short version of it misleading, suggesting it accepts all named colors, rather than just three. (The long description clarifies that, so it's not completely bad.)
  • Show how engineering the prompt to do what they want takes more time than just writing the code in the first place.

And that's supposed to be a feature. I wonder how they'd feel if someone sent them a pull request done in a similar manner, resulting in similarly bad code.

I think I'll remain firmly in the "if FPS is an important metric in your editor, you're doing something wrong" camp, and will also steer clear of anything that hypes up the plagiarism parrots as something that'd be a net win.

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

Church of Emacs vs. Cult of vi is the only true rivalry. Enlightenment will only be found taking one of these paths.

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago) (2 children)

I recently learned there are people that think emacs and vi are bloated. They like acme or sam or something. Iceberg is so deep.

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

Ed users have not found the internet yet, otherwise they'd be in the war too

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

When you think of a bloated text editor, you would not expect VI to be that. If anything, it's closer to the opposite.

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

Check this out. It puts everything I thought that was, you know, more ethical to use to the harmful section and suggests some unknown and probably not very useful today stuff. Can someone explain if they have good points or not?

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

Unclear. They don't give their reasoning beyond "complicated = bad", and very specifically leave it up to the imagination of the reader.

While they make some interesting points with regards to overcomplication and scope creep, there are also good reasons why we're still not using programs like ed as text editors, such as it being arcane and unintuitive.

vi will at least helpfully point out :exit is not an editor command. Instead, ed will not-so-helpfully point out ?.

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

Represent! (It's vscode with all telemetry and crap removed, all your vscode extensions still work fine)

[–] [email protected] -1 points 4 months ago* (last edited 4 months ago)

"all your vscode extensions still work fine" is definitely not true. Sure a vast majority of them probably do, but certainly not all of them.

I still prefer it over full VS Code though.