this post was submitted on 21 Feb 2024
27 points (86.5% liked)

Programmer Humor

32400 readers
511 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 8 months ago (1 children)

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] -3 points 8 months ago (2 children)

If FPS is NOT an important metric in text editing, you are doing something wrong. Otherwise, good points.

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

Unless FPS means "files per second", I don't see why it would, past the point of usability. You can only type so quickly, and 50 frames is as meaningful as 144.

If you get to that point where frames per second does matter, you're either the fastest typist known to man, or it might be worth finding a more efficient way of doing what you're doing.

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

In many modern environments the second I start scrolling my eyes start to bleed. Yes, I want 60 fps min. That was the first part. The second part is about stability. 20 fps may be enough for typing, but it needs to be 20 fps all the time. Not the average between 1 and 60, it is makes IDEs unusable.

[–] [email protected] 1 points 8 months ago

No need to update my screen when nothing happens. I use neovim, the pinnacle of editing.

[–] [email protected] 1 points 8 months ago