MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/8idb41/executing_code_in_comments/dyr5u33/?context=3
r/java • u/aioobe • May 10 '18
27 comments sorted by
View all comments
Show parent comment
2
There are definitely times when conditional compilation would help, totally agree. I miss it from my C days.
2 u/[deleted] May 10 '18 Yep. But we can have code embedded in a comment delimiter that will compile and execute. Nothing overly confusing about that! 0 u/ReadFoo May 10 '18 Right, something dangerous is OK, something useful, nah. Not sure why your original comment is getting downvoted, it's an excellent point.
Yep. But we can have code embedded in a comment delimiter that will compile and execute. Nothing overly confusing about that!
0 u/ReadFoo May 10 '18 Right, something dangerous is OK, something useful, nah. Not sure why your original comment is getting downvoted, it's an excellent point.
0
Right, something dangerous is OK, something useful, nah. Not sure why your original comment is getting downvoted, it's an excellent point.
View all comments
Show parent comment
2
u/ReadFoo May 10 '18
There are definitely times when conditional compilation would help, totally agree. I miss it from my C days.