883
Unused variables (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] treechicken@lemmy.world 12 points 7 months ago* (last edited 7 months ago)

VSCode with Go language support: removes unused variable on save "Fixed that compilation bug for ya, boss"

[-] kevincox@lemmy.ml 4 points 7 months ago

Like actually deletes them from the working copy? Or just removes them in the code sent to the compiler but they still appear in the editor?

[-] FizzyOrange@programming.dev 17 points 7 months ago

Yeah IIRC it deletes them, which is as mad as you would expect. Maybe they've fixed that since I used it last which was some years ago.

[-] jose1324@lemmy.world 4 points 7 months ago

Bruh that's insane

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

Programmer Humor

19623 readers
1 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