Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 7 months agoUnused variablessh.itjust.worksimagemessage-square52fedilinkarrow-up1903arrow-down119
arrow-up1884arrow-down1imageUnused variablessh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 7 months agomessage-square52fedilink
minus-squaretreechicken@lemmy.worldlinkfedilinkarrow-up12·edit-27 months agoVSCode with Go language support: removes unused variable on save “Fixed that compilation bug for ya, boss”
minus-squarekevincox@lemmy.mllinkfedilinkarrow-up4·7 months agoLike 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?
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up17·7 months agoYeah 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.
VSCode with Go language support: removes unused variable on save “Fixed that compilation bug for ya, boss”
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?
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.
Bruh that’s insane