Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

None of these examples demonstrate something that can't be done procedurally. He never actually answers the question "What is the point of macros?"


You CAN do it procedurally; in fact, you can do it in Brainfuck, since Brainfuck is Turing-complete. The point is, macros let you stop repetitively writing the same boilerplate code, and let you get down to the point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: