▲ 282 ▼ : ( (lemmy.dbzer0.com) submitted 6 months ago by irelephant@lemmy.dbzer0.com to c/programmer_humor@programming.dev 34 comments fedilink hide all child comments
[–] MultipleAnimals@sopuli.xyz 40 points 6 months ago (8 children) strings "true" and "false" ofc like any sane developer permalink fedilink source parent hideshow 8 child comments replies: [–] Valmond@lemmy.dbzer0.com 26 points 6 months ago (3 children) I got a better one: O for true and N for false. Seen in production for quite important stuff (payment requests). O is from Oui, N from Non, of course! 😐🫤 permalink fedilink source parent hideshow 3 child comments replies: [–] felbane@lemmy.world 5 points 6 months ago (1 child) This is awful and aweful at the same time. permalink fedilink source parent hideshow 1 child comment replies: [–] Valmond@lemmy.dbzer0.com 1 point 6 months ago* (last edited 5 months ago) Non affective, non effective. permalink fedilink source parent [–] psud@aussie.zone 3 points 5 months ago The system I work on uses "Y" and "N". permalink fedilink source parent [–] Hadriscus@jlai.lu 24 points 6 months ago (3 children) good fucking god permalink fedilink source parent hideshow 3 child comments replies: [–] kubica@fedia.io 31 points 6 months ago (2 children) it allows for mood changes, some parts of the code can check charAt(0) == 't'others can do val != 'false' just let it flow. permalink fedilink source parent hideshow 2 child comments replies: [–] Hadriscus@jlai.lu 22 points 6 months ago (1 child) lord mary joseph make it stop permalink fedilink source parent hideshow 1 child comment replies: [–] sznowicki@lemmy.world 22 points 6 months ago And for double fun if the output doesn’t matter you can make if endsWith(“e”). permalink fedilink source parent
[–] Valmond@lemmy.dbzer0.com 26 points 6 months ago (3 children) I got a better one: O for true and N for false. Seen in production for quite important stuff (payment requests). O is from Oui, N from Non, of course! 😐🫤 permalink fedilink source parent hideshow 3 child comments replies: [–] felbane@lemmy.world 5 points 6 months ago (1 child) This is awful and aweful at the same time. permalink fedilink source parent hideshow 1 child comment replies: [–] Valmond@lemmy.dbzer0.com 1 point 6 months ago* (last edited 5 months ago) Non affective, non effective. permalink fedilink source parent [–] psud@aussie.zone 3 points 5 months ago The system I work on uses "Y" and "N". permalink fedilink source parent
[–] felbane@lemmy.world 5 points 6 months ago (1 child) This is awful and aweful at the same time. permalink fedilink source parent hideshow 1 child comment replies: [–] Valmond@lemmy.dbzer0.com 1 point 6 months ago* (last edited 5 months ago) Non affective, non effective. permalink fedilink source parent
[–] Valmond@lemmy.dbzer0.com 1 point 6 months ago* (last edited 5 months ago) Non affective, non effective. permalink fedilink source parent
[–] psud@aussie.zone 3 points 5 months ago The system I work on uses "Y" and "N". permalink fedilink source parent
[–] Hadriscus@jlai.lu 24 points 6 months ago (3 children) good fucking god permalink fedilink source parent hideshow 3 child comments replies: [–] kubica@fedia.io 31 points 6 months ago (2 children) it allows for mood changes, some parts of the code can check charAt(0) == 't'others can do val != 'false' just let it flow. permalink fedilink source parent hideshow 2 child comments replies: [–] Hadriscus@jlai.lu 22 points 6 months ago (1 child) lord mary joseph make it stop permalink fedilink source parent hideshow 1 child comment replies: [–] sznowicki@lemmy.world 22 points 6 months ago And for double fun if the output doesn’t matter you can make if endsWith(“e”). permalink fedilink source parent
[–] kubica@fedia.io 31 points 6 months ago (2 children) it allows for mood changes, some parts of the code can check charAt(0) == 't'others can do val != 'false' just let it flow. permalink fedilink source parent hideshow 2 child comments replies: [–] Hadriscus@jlai.lu 22 points 6 months ago (1 child) lord mary joseph make it stop permalink fedilink source parent hideshow 1 child comment replies: [–] sznowicki@lemmy.world 22 points 6 months ago And for double fun if the output doesn’t matter you can make if endsWith(“e”). permalink fedilink source parent
[–] Hadriscus@jlai.lu 22 points 6 months ago (1 child) lord mary joseph make it stop permalink fedilink source parent hideshow 1 child comment replies: [–] sznowicki@lemmy.world 22 points 6 months ago And for double fun if the output doesn’t matter you can make if endsWith(“e”). permalink fedilink source parent
[–] sznowicki@lemmy.world 22 points 6 months ago And for double fun if the output doesn’t matter you can make if endsWith(“e”). permalink fedilink source parent