News for hackers. Stuff that matters.
Re:Python's “Disappointing” Superpowers by RobotToaster on Wednesday February 01, 2023 @05:04PM (#34618571)
Isn't the C preprocessor a type of metaprogramming?
Re:Python's “Disappointing” Superpowers by agumonkey on Wednesday February 01, 2023 @05:28PM (#34618899)
it's probably discard as being string-based, you could do the same with sed
Re:Python's “Disappointing” Superpowers by Jtsummers on Wednesday February 01, 2023 @05:08PM (#34618639)
Yes since metaprogramming is just programming that generates, modifies, or extends other programs.
Re:Python's “Disappointing” Superpowers by Ferret7446 on Wednesday February 01, 2023 @10:38PM (#34621726)
Strictly speaking, yes. Generally speaking, not really. Metaprogramming implies first class support (i.e., using the language to generate itself)