News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by brundolf on Thursday April 22, 2021 @12:03PM (#26904323)
That's actually a great point about macros. I have extremely mixed feelings about Rust's macros, but one of those feelings is that if anything is going to compromise its status as "the maintainable language" down the line, macros are the most likely.
Re:Green vs. Brown Programming Languages by 13415 on Thursday April 22, 2021 @12:20PM (#26904552)
That's also my impression about CommonLisp, which I otherwise like a lot. Macros are really handy but in the long run they force new programmers to learn DSLs forever. The same for templates, of course. They increase programmer comfort but decrease long-term maintainability. It's always a trade-off.
Re:Green vs. Brown Programming Languages by jcelerier on Thursday April 22, 2021 @05:22PM (#26908377)
> in the long run they force new programmers to learn DSLs forever.

but... that's a good thing. programs should be built as a collection of small DSLs tailored to the specific tasks of that program