884
Unused variables (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] tunetardis@lemmy.ca 36 points 6 months ago

Compiler/interpreter: Can't find variable farfignewton.

Earlier:

Me: Declare variables near, far

IDE: Oh! You mean farfignewton right? I found that in some completely unrelated library you didn't write. Allow me complete that for you while you're not paying attention.

[-] frezik@midwest.social 15 points 6 months ago

And people wonder why I stick to Vim.

[-] lud@lemm.ee 12 points 6 months ago

I mean, if you want something dumb you can use any text editor.

[-] frezik@midwest.social 5 points 6 months ago

Yes, compared to the annoyances of "smart" IDEs, I do want something dumb.

[-] FizzyOrange@programming.dev 1 points 6 months ago

No I'm good with smart IDEs. Anyway don't people set up Vim as practically an IDE these days anyway? That's what Vim users always tell me.

[-] frezik@midwest.social 3 points 6 months ago

The advantage there is that you pick and choose how you turn things on, so you leave out the annoying bits.

[-] tunetardis@lemmy.ca 2 points 6 months ago

One thing most text editors can do is print. I was shocked the other day when I couldn't print a readme from vscode when someone asked for hard copy.

[-] lud@lemm.ee 1 points 6 months ago

Print?

Why would you ever need to print?

[-] bitcrafter@programming.dev 4 points 6 months ago

Because some of us are bitter at the trees for generating so much pollen at this time of year and want revenge.

[-] lud@lemm.ee 2 points 6 months ago

That's fair, I didn't think of that.

[-] Threeme2189@lemmy.world 2 points 6 months ago

when someone asked for hard copy.

[-] andnekon@programming.dev 4 points 6 months ago

using lsp in vim has pretty much the same problem especially with java

[-] elxeno@lemm.ee 13 points 6 months ago

near, far

The obvious autocomplete is , wherever you are

[-] tunetardis@lemmy.ca 3 points 6 months ago

This is why I fear activating any AI features in the IDE.

[-] brisk@aussie.zone 4 points 6 months ago* (last edited 6 months ago)

I try my best to make my IDEs follow the principal that I should be able to type without looking at the screen, but apparently IDEs are really invested in return accepting completions to the point it's often not configurable even when every other key is.

[-] dojan@lemmy.world 4 points 6 months ago

Visual Studio: PROPERTY DOESN'T EXIST ON TYPE!! NOTHING EXISTS ANYMORE!!!!!! REALITY HAS COLLAPSED!

Me: What? I haven't even touched that class, let me check.

Visual Studio: Oops, nevermind, héhé 🙃

[-] DacoTaco@lemmy.world 2 points 6 months ago

I swear to god this didnt used to be a problem few years ago. However im having that bug constantly now...

[-] dojan@lemmy.world 1 points 6 months ago

Yeah, I also feel like it's fairly recent.

[-] gregorum@lemm.ee 4 points 6 months ago* (last edited 6 months ago)

thank you for flooding my memory with a bunch of silly 90s car commercials

[-] RagingRobot@lemmy.world 2 points 6 months ago

Then it automatically imports the library for you too lol

this post was submitted on 21 Apr 2024
884 points (97.9% liked)

Programmer Humor

19503 readers
580 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