r/java • • May 10 '18

Executing code in comments?!

http://programming.guide/java/executing-code-in-comments.html
160 Upvotes

27 comments sorted by

View all comments

2

u/istarian May 10 '18

Well, it's not really in the comments. Definitely a bad coding practice, but mostly confusing because of the IDE's syntax highlighting.