Re:The naked truth about writing a programming language (2014)
by daenz on Saturday May 02, 2020 @04:17PM
(#23054577)
It's simple, but it's fundamentally reductionist. You can ease the cognitive load by making certain programming structures first-class citizens in the language.
[ Parent
| on HN ]
Re:The naked truth about writing a programming language (2014)
by F-0X on Saturday May 02, 2020 @05:08PM
(#23054918)
> You can ease the cognitive load by making certain programming structures first-class citizens in the language.
Which, in every s-expression based language I'm aware of, can be achieved using macros.
Re:The naked truth about writing a programming language (2014)
by chrisseaton on Saturday May 02, 2020 @05:10PM
(#23054934)
Isn't that the point - s-expressions aren't good enough so people work around them by writing more conventional languages and parsers (the reader macros) to avoid having to write in them.
Re:The naked truth about writing a programming language (2014)
by catalogia on Saturday May 02, 2020 @05:14PM
(#23054979)
I don't think that comment was about reader macros. I don't see reader macros used much, while normal macros are frequently used to create new control structures.