21:07:18asarchI have this code: http://paste.scsys.co.uk/582760 and I get "NIL fell through ECASE expression." What's wrong? (I'm trying to create an empty CLIM window)
21:10:13jackdanielthat said this error message is bad, feel free to report a bug on that
21:10:57aethjackdaniel: sounds like a simple check could be placed there to give a more helpful error message? Just a simple (when (null pane) (error "You don't have any pane. Try inserting (:pane :application)")) above the ecase?
21:16:26aethI usually use unless as a simplification for (when (not foo) ...) not for (when (null foo) ...) which is why I didn't notice it at first
21:16:50aethasarch: NULL is exactly the same thing as NOT except semantically it's for this sort of thing rather than for logical negation.
21:17:07aethasarch: and yes, it should be "NIL?" but "NILP" would have worked too.
21:17:19jackdanielthis doesn't matter, it will be probably (when (null panes) …), because pane option (which is mutually exclusive with panes) is ensure-list'ed to panes
21:20:48aethasarch: nil used to be 0, but it encouraged "pornographic programming" so it doesn't in later Lisps like Common Lisp. http://www-formal.stanford.edu/jmc/history/lisp/node3.html
21:22:45aethStackOverflow, the source of all knowledge, talks about it. https://stackoverflow.com/questions/8547142/what-did-john-mccarthy-mean-by-pornographic-programming
21:22:54aeth"The fact that too many implementation details were leaking at a higher level, i.e. showing up too much" and "Code that uses intimate knowledge."