devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoShiiieeettt.......lemmy.worldimagemessage-square11fedilinkarrow-up115arrow-down10
arrow-up115arrow-down1imageShiiieeettt.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square11fedilink
minus-squareShortN0te@lemmy.mllinkfedilinkarrow-up1·1 year agoA lot of IDEs would probably throw a warning about unreachable code.
minus-squarebus_factor@lemmy.worldlinkfedilinkarrow-up1·1 year 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.
A lot of IDEs would probably throw a warning about unreachable code.
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.