@devilish666 to Programmer [email protected] • 10 months agoShiiieeettt.......imagemessage-square87arrow-up1990arrow-down118
arrow-up1972arrow-down1imageShiiieeettt.......@devilish666 to Programmer [email protected] • 10 months agomessage-square87
minus-square@bus_factorlink25•10 months agoGolang won’t even compile with dead code. Unfortunately that’s too strict, you just end up commenting out the whole block instead. At least the commented out code is obvious in review, and some automated checks catch it if you have them.
minus-square@[email protected]linkfedilink3•10 months ago commenting out the whole block var foo is declared but not used is such a pain in my asshole when doing this.
Golang won’t even compile with dead code. Unfortunately that’s too strict, you just end up commenting out the whole block instead. At least the commented out code is obvious in review, and some automated checks catch it if you have them.
var foo is declared but not used
is such a pain in my asshole when doing this.