“I used to like arguing over the Internet about this subject. There are many good technical and management/organizational arguments you can make for and against macros. What I’ve come to realize is they’re all pretty much irrelevant. The entire point of programming is automation. The question that immediately comes to mind after you learn this fact is – why not program a computer to program itself? Macros are a simple mechanism for generating code, in other words, automating programming. Unless your system includes a better mechanism for automating programming (so far, I have not seen any such mechanisms), _not_ having macros means that you basically don’t understand _why_ you are writing code. This is why it is not surprising that most software sucks – a lot of programmers only have a very shallow understanding of why they are programming. Even many hackers just hack because it’s fun. So is masturbation. This is also the reason why functional programming languages ignore macros. The people behind them are not interested in programming automation. Wadler created ML to help automate proofs. The Haskell gang is primarily interested in advancing applied type theory. Which brings me to my last point: as you probably know, the reputation of the functional programming people as intelligent is not baseless. You don’t need macros if you know what you are doing (your domain), and your system is already targeted at your domain. Adding macros to ML will have no impact on its usefulness for building theorem provers. You can’t make APL or Matlab better languages for working with arrays by adding macros. But as soon as you need to express new domain concepts in a language that does not natively support them, macros become essential to maintaining good, concise code. This IMO is the largest missing piece in most projects based around domain-driven design.”
Those who build and program computer systems appear to have forgotten that such things were once intended to be labor-saving tools, rather than expensive space heaters. The whole point of automation is not to build planned-obsolescent crud faster than ever. Rather, it is to reduce the need for drudge work so that human beings can get on with the business of enjoying life:
“My mother explained the magic with this machine the very, very first day. She said, “Now Hans, we have loaded the laundry; the machine will make the work. And now we can go to the library.” Because this is the magic: you load the laundry, and what do you get out of the machine? You get books out of the machines, children’s books. And mother got time to read for me. She loved this. I got the “ABC.” This is where I started my career as a professor, when my mother had time to read for me. And she also got books for herself. She managed to study English and learn that as a foreign language. And she read so many novels, so many different novels here. And we really, we really loved this machine. And what we said, my mother and me, “Thank you industrialization. Thank you steel mill. Thank you power station. And thank you chemical processing industry that gave us time to read books.”"
Thank you industrialization. Thank you steel mill. Thank you power station. And thank you chemical processing industry that gave us time to read books.
But no thank you Microsoft. No thank you spreadshi^Heets. No thank you Unix. No thank you C++. No thank you unmodifiable syntax. No thank you von Neumann architectures. No thank you unrepentant snake oil industry that has lured us into performing the same old menial tasks by mouse instead of by lever and duped almost everyone involved into thinking of this as some kind of progress.
The misadventures of the personal computer are merely a symptom of an underlying (possibly incurable) disease. At some point, people forgot what industrialization was supposed to be for. What would it take to make them remember?