3 ms·
Having to prefix functions with #' is a perk? No other language uses a separate name space for functions, and for good reason, because it sucks.
by smabie 6y ago
Having to prefix functions with #' is a perk? No other language uses a separate name space for functions, and for good reason, because it sucks.
- pfdietz 6y agoIt's an optimization for usability. Many more symbols occur as the heads of list forms than appear after #'. So, the common case is optimized for clarity and the relatively uncommon case requires two extra characters. I completely disagree that it sucks. What sucks is having to remember not to have your variable names collide with your function names (or indeed any of the other namespaces in CL). Things that are usually used in different ways benefit from having separate namespaces.