other-languages

here be heresies and things we have to use for work
borkdude 2017-11-16T16:18:26.000542Z

https://twitter.com/i/web/status/931095426341769216

😀 2
tjg 2017-11-16T18:17:18.000265Z

Is there a good analysis arguing lisps ideally shouldn’t have nulls?

seancorfield 2017-11-16T18:20:29.000478Z

@tjg Given nil-punning seems pretty core to idiomatic usage (at least in Clojure), I'd be surprised to find any goodarguments for that. I'd certainly be interested in reading anyone's attempted arguments on that topic tho'...

👍 1
sundarj 2017-11-20T15:40:56.000219Z

there is this: https://bsima.me/clog/robust-clojure-nil.html

seancorfield 2017-11-20T16:04:04.000017Z

That's not an argument against Clojure having nil. It's basically just good advice about idiomatic handling of nil (even tho' he seems to want to avoid calling it nil-punning -- up until the last paragraph!).

sundarj 2017-11-20T16:07:54.000343Z

fair enough

dpsutton 2017-11-16T18:36:50.000457Z

ive found that the use of nil punning can bite me when i go to extend some behavior. and then i need more information passed along so i'm always returning a map of stuff. so previously it would be (if-let (analyze-token token) ....) but then i want to start passing more information back like why the token was invalid, the nil punning causes a pretty big diff and takes the new information of failure or other things as success, since success just meant not nil in the past