cm0002@lemmy.zip to Programmer Humor@programming.dev · 18 days agoMore code = more betterlemmy.zipimagemessage-square25linkfedilinkarrow-up116arrow-down11
arrow-up115arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 18 days agomessage-square25linkfedilink
minus-squarebranch@lemmy.worldlinkfedilinkarrow-up1·18 days agoI would love to see the implementaion.
minus-squareedinbruh@feddit.itlinkfedilinkEnglisharrow-up1·18 days agoThe implementation is not very exciting, I capture a variable in python. It could have been done more cleanly. The proof is this. But, I could have made mistakes, it was many years ago. Note that in python you’ll never be able to run is_even(5) the stack cannot handle it Edit: daaaamn, that variable is ugly as hell. I would never do things like that now.
I would love to see the implementaion.
The implementation is not very exciting, I capture a variable in python. It could have been done more cleanly.
The proof is this. But, I could have made mistakes, it was many years ago.
Note that in python you’ll never be able to run
is_even(5)the stack cannot handle itEdit: daaaamn, that variable is ugly as hell. I would never do things like that now.