4 ms·
format is not just a function. it is a domain specific language. it even has a wikipedia entry, all its own. Like it or not, nothing similar exists in any other
by medo-bear 4y ago
format is not just a function. it is a domain specific language. it even has a wikipedia entry, all its own. Like it or not, nothing similar exists in any other language
https://en.m.wikipedia.org/wiki/Format_(Common_Lisp) https://en.m.wikipedia.org/wiki/Format_(Common_Lisp)
- xigoi 4y ago> format is not just a function. The article you linked literally starts with: > Format is a function in Common Lisp…
- nequo 4y ago"Not just a function" does not mean that it is "not a function." But I agree with your original point. "format" is not the most descriptive name for something that "formats and maybe prints."
- gumby 4y ago> Like it or not, nothing similar exists in any other language Uh, what? It's not that different from the printf metalanguage (more powerful, sure, but not that different and inspired by printf)
- medo-bear 4y ago> more powerful, sure, but not that different and inspired by printf bit of an understatement. it is an almost turing complete version of printf. https://arcanesentiment.blogspot.com/2009/02/value-of-extensible-format-strings.html?m=1 https://arcanesentiment.blogspot.com/2009/02/value-of-extens...