learnbyexample@programming.dev to Programming@programming.devEnglish · 11 months agoState machines are wonderful toolsnullprogram.comexternal-linkmessage-square8fedilinkarrow-up164
arrow-up164external-linkState machines are wonderful toolsnullprogram.comlearnbyexample@programming.dev to Programming@programming.devEnglish · 11 months agomessage-square8fedilink
minus-squarePyro@lemmy.worldlinkfedilinkEnglisharrow-up17·11 months agoWhile I agree with the premise of the article, the code is completely unreadable to me. I took a look at the first snippet and just thought “Nah.”
minus-squareNostraDavid@programming.devlinkfedilinkarrow-up3·11 months agoYou really need to know C to be able to read that code - If I only knew Python or Java I’d be hella lost too.
minus-squarePyro@lemmy.worldlinkfedilinkEnglisharrow-up16·11 months agoIt’s not even that. I can generally read a C-like language, but when the first line I see is a long-ass array of bytes with zero documentation it just makes me not want to even try.
While I agree with the premise of the article, the code is completely unreadable to me. I took a look at the first snippet and just thought “Nah.”
You really need to know C to be able to read that code - If I only knew Python or Java I’d be hella lost too.
It’s not even that. I can generally read a C-like language, but when the first line I see is a long-ass array of bytes with zero documentation it just makes me not want to even try.
deleted by creator