minus-squareslampisko@czech-lemmy.eutoProgrammer Humor@lemmy.ml•LF cheesy oneliners for my Halloween costumelinkfedilinkarrow-up5·2 years agoDecided to write it in python for brevity. if you.can_read_this(): you.is_too_close = True though if you know what you’re doing, you’d be more likely to do something like you.is_too_close = you.can_read_this() linkfedilink
minus-squareslampisko@czech-lemmy.eutoProgrammer Humor@programming.dev•e = error in syntaxlinkfedilinkarrow-up19·2 years agoYou explained it in the title and I was still wondering where the difference was 😅 linkfedilink
minus-squareslampisko@czech-lemmy.eutoProgrammer Humor@programming.dev•One command to rule them alllinkfedilinkarrow-up1·2 years agoThat’s why I follow it with git clean -fd linkfedilink
Decided to write it in python for brevity.
if you.can_read_this(): you.is_too_close = True
though if you know what you’re doing, you’d be more likely to do something like
you.is_too_close = you.can_read_this()