𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 years agoShiiieeettt.......lemmy.worldimagemessage-square11linkfedilinkarrow-up115arrow-down10
arrow-up115arrow-down1imageShiiieeettt.......lemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 years agomessage-square11linkfedilink
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up2·2 years 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·2 years agoA lot of IDEs would probably throw a warning about unreachable code.
minus-squarebus_factor@lemmy.worldlinkfedilinkarrow-up1·2 years 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·2 years agoGuess what? Flight Software usually uses ancient proprietary compilers for specialized hardware running an RTOS, rip 😢
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 years 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?!