4 ms·
In which data structures? For example in CL hashes use multiple returns so in 99% of cases you can just not care, and when you do care about the difference you
by blacktriangle 5y ago
In which data structures? For example in CL hashes use multiple returns so in 99% of cases you can just not care, and when you do care about the difference you just check the second return value.
- fiddlerwoaroof 5y agoYes, I think the two return values convention in CL mostly makes this a non-issue.
- codr7 5y agoI've run into issues when interfacing databases and writing interpreters, and probably more that I've forgotten. They're just minor culture clashes that add up...
- ruricolist 5y agoI like the way CL does things but it makes dealing with JSON occasionally annoying.
- fmakunbound 5y agoDo you mean, for example, a null node versus a missing node?
- ruricolist 5y agoI mean distinguishing between `null`, `false`, and `[]` on the JSON side. Most JSON libraries for CL by default parse them all as `nil`. (ST-JSON excepted.)
- codr7 5y agoI guess that means you can't generate false and [] either? So this would be a good example the culture clashes I mentioned, handled badly.