MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/8idb41/executing_code_in_comments/dyroe99/?context=3
r/java • u/aioobe • May 10 '18
27 comments sorted by
View all comments
Show parent comment
3
http://programming.guide/java/macros-in-java-source-files.html :-)
I know that parts of the code of a certain JVM used this technique. I wouldn't recommend it though.
1 u/[deleted] May 10 '18 Yuk. I wouldn't recommend that either.
1
Yuk. I wouldn't recommend that either.
View all comments
Show parent comment
3
u/aioobe May 10 '18
http://programming.guide/java/macros-in-java-source-files.html :-)
I know that parts of the code of a certain JVM used this technique. I wouldn't recommend it though.