Hacker News new | ask | show | jobs
by floppydisc 1731 days ago
Why is the slashdash comment style an incredible idea?
1 comments

because commenting out multiple lines of code in most languages is tedious and involves me doing work the compiler already knows how to do in my head.

Sure, editors often have shortcuts, but then undoing them is often a pain and sometimes I'm editing something in a really basic editor and it'd be nice to just let the compiler to it.