News for hackers. Stuff that matters.
Re:How to properly use macros in C by flukus on Monday December 11, 2017 @12:53AM (#15895396)
> The claim that macros do not exist in other languages is incorrect

Technically incorrect, but how many of the top 20 languages (https://www.tiobe.com/tiobe-index/) have c style macros? I don't think many of them have a pre-processor at all.

Re:How to properly use macros in C by cjensen on Monday December 11, 2017 @02:00PM (#15899353)
At least 20% of those languages have macros (the three C-derived languages and Assembly). You don't need to have a pre-processor to have macros.

Some of those languages, like Python and C#, have advanced features which eliminate much of the need for macros. Others, like JavaScript and SQL, would be much improved by assembly-language or Lisp style macros.