JPDev@programming.dev to Programmer Humor@programming.dev · 2 years agoVariable Declarationprogramming.devimagemessage-square30fedilinkarrow-up1811arrow-down118
arrow-up1793arrow-down1imageVariable Declarationprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square30fedilink
minus-squaretreechicken@lemmy.worldlinkfedilinkarrow-up19·2 years ago…and then there’s Go who just won’t let you compile at all
minus-squaredvlsg@lemmy.worldlinkfedilinkEnglisharrow-up28·2 years agoJust enable format-on-save. That way gofmt can helpfully delete that variable you just added that you were for sure never going to use. You’re welcome!
minus-squareShieldGengar@sh.itjust.workslinkfedilinkarrow-up4·2 years agoMy thing is imports. Like, why, why do you delete it right after I typed it in and saved?
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up11·2 years agoGo will not calm down! Go will NEVER calm down! How DARE! YOU! suggest Go to calm down!?
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up3·2 years agoThis files seems to be generated. DO NOT EDIT.
minus-squareUllallullooAlinkfedilinkarrow-up1·2 years agoEven better, it aggressively deletes your variables and imports every time you save. It trains me against every instinct I have working on a computer.
…and then there’s Go who just won’t let you compile at all
Just enable format-on-save. That way gofmt can helpfully delete that variable you just added that you were for sure never going to use. You’re welcome!
My thing is imports. Like, why, why do you delete it right after I typed it in and saved?
Go will not calm down! Go will NEVER calm down!
How DARE! YOU! suggest Go to calm down!?
This files seems to be generated. DO NOT EDIT.
Or else
Even better, it aggressively deletes your variables and imports every time you save. It trains me against every instinct I have working on a computer.