General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
No Boilerplate
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "No Boilerplate" channel.
Previous
1
Next
...
All
The key point is that these macros (like those in LISP) are syntax-based, not string-based. This is why ♯define in C is such a pain to use, so fragile and fiddly: because it’s based on string manipulation. I thought it was simply because the string manipulation wasn’t powerful enough. So I had a play with m4, which is a much more powerful string-based macro language. And it is, if anything, even more fragile and fiddly than the C preprocessor. How do you tell which languages get it right? The word to look for is “homoiconicity”.
8
@vitalyl1327 Python can do that. I used it in my “Seaskirt” wrapper for the Asterisk telephony engine, to offer both synchronous and asynchronous versions of the main API classes from a common code base.
4
Previous
1
Next
...
All