▲ 460 ▼ Before and after programming (piefed.jeena.net) submitted 2 years ago by jeena@piefed.jeena.net to c/programmerhumor@lemmy.ml 138 comments fedilink hide all child comments
[–] fauxerious@lemmy.world 38 points 2 years ago (1 child) Python?? False permalink fedilink source hideshow 2 child comments replies: [–] HiddenLayer555@lemmy.ml 3 points 2 years ago (1 child) also None is another annoying quirk permalink fedilink source parent hideshow 2 child comments replies: [–] flux@lemmy.ml 1 point 2 years ago (2 children) How is None a quirk? permalink fedilink source parent hideshow 4 child comments replies: [–] HiddenLayer555@lemmy.ml 3 points 2 years ago (1 child) The way it's written. Most programming languages call it null permalink fedilink source parent hideshow 2 child comments replies: [–] flux@lemmy.ml 1 point 2 years ago That's pretty low bar for calling something a "quirk". The whole ML family, so OCaml, SML, Haskell, F# and perhaps a the new distant relative Rust call it also it None. And it's not even the same thing: null means pointer to nothing, while None means no value. permalink fedilink source parent [–] HiddenLayer555@lemmy.ml 1 point 2 years ago* permalink fedilink source parent
[–] HiddenLayer555@lemmy.ml 3 points 2 years ago (1 child) also None is another annoying quirk permalink fedilink source parent hideshow 2 child comments replies: [–] flux@lemmy.ml 1 point 2 years ago (2 children) How is None a quirk? permalink fedilink source parent hideshow 4 child comments replies: [–] HiddenLayer555@lemmy.ml 3 points 2 years ago (1 child) The way it's written. Most programming languages call it null permalink fedilink source parent hideshow 2 child comments replies: [–] flux@lemmy.ml 1 point 2 years ago That's pretty low bar for calling something a "quirk". The whole ML family, so OCaml, SML, Haskell, F# and perhaps a the new distant relative Rust call it also it None. And it's not even the same thing: null means pointer to nothing, while None means no value. permalink fedilink source parent [–] HiddenLayer555@lemmy.ml 1 point 2 years ago* permalink fedilink source parent
[–] flux@lemmy.ml 1 point 2 years ago (2 children) How is None a quirk? permalink fedilink source parent hideshow 4 child comments replies: [–] HiddenLayer555@lemmy.ml 3 points 2 years ago (1 child) The way it's written. Most programming languages call it null permalink fedilink source parent hideshow 2 child comments replies: [–] flux@lemmy.ml 1 point 2 years ago That's pretty low bar for calling something a "quirk". The whole ML family, so OCaml, SML, Haskell, F# and perhaps a the new distant relative Rust call it also it None. And it's not even the same thing: null means pointer to nothing, while None means no value. permalink fedilink source parent [–] HiddenLayer555@lemmy.ml 1 point 2 years ago* permalink fedilink source parent
[–] HiddenLayer555@lemmy.ml 3 points 2 years ago (1 child) The way it's written. Most programming languages call it null permalink fedilink source parent hideshow 2 child comments replies: [–] flux@lemmy.ml 1 point 2 years ago That's pretty low bar for calling something a "quirk". The whole ML family, so OCaml, SML, Haskell, F# and perhaps a the new distant relative Rust call it also it None. And it's not even the same thing: null means pointer to nothing, while None means no value. permalink fedilink source parent
[–] flux@lemmy.ml 1 point 2 years ago That's pretty low bar for calling something a "quirk". The whole ML family, so OCaml, SML, Haskell, F# and perhaps a the new distant relative Rust call it also it None. And it's not even the same thing: null means pointer to nothing, while None means no value. permalink fedilink source parent