News for hackers. Stuff that matters.
Re:Are “jets” a good idea? (2017) by Jach on Tuesday July 17, 2018 @06:26PM (#17554027)
Yeah I was pretty sure I've seen this in both Nim and Common Lisp, but don't compile-time macros in general allow for this? A comment even mentions source-text replacement with C functions. So it seems like the "jet" is just a type of macro that is formally specified to behave as a pure transformation...
Re:Are “jets” a good idea? (2017) by derefr on Tuesday July 17, 2018 @07:19PM (#17554372)
If macros are "GOTO", a jet is a "COMEFROM". A programmer knows they're calling a macro, and expects that code to change. A jet, meanwhile, affects code that was written without knowledge of the jet.
Re:Are “jets” a good idea? (2017) by coding123 on Tuesday July 17, 2018 @08:14PM (#17554650)
It sounds like a aspect oriented programming.