devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoShiiieeettt.......lemmy.worldimagemessage-square11fedilinkarrow-up114arrow-down10
arrow-up114arrow-down1imageShiiieeettt.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square11fedilink
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up2·1 year agoI feel like modern compilers would turn their nose up at that shit. “Dead code? Ewww! No way I’m letting that into my syntax tree!”
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.
minus-square1stTime4MeInMCU@mander.xyzlinkfedilinkEnglisharrow-up1·1 year agoGuess what? Flight Software usually uses ancient proprietary compilers for specialized hardware running an RTOS, rip 😢
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year agoWoah woah WOAH WOAH. So you’re saying software for the Artemis landers aren’t being built with the latest TypeScript compiler and running on a canary version of v8?!
I feel like modern compilers would turn their nose up at that shit. “Dead code? Ewww! No way I’m letting that into my syntax tree!”
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.
Guess what? Flight Software usually uses ancient proprietary compilers for specialized hardware running an RTOS, rip 😢
Woah woah WOAH WOAH.
So you’re saying software for the Artemis landers aren’t being built with the latest TypeScript compiler and running on a canary version of v8?!