r/programming • • May 10 '18

Java: Executing code in comments?!

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

84 comments sorted by

View all comments

2

u/i_feel_really_great May 10 '18

A favourite of Smalltalkers. Write code to demo your method in the comments so you can just select and execute.