News for hackers. Stuff that matters.
Re:Block Comments Are a Bad Idea by wdfx on Wednesday October 11, 2017 @08:43AM (#15449257)
I was just thinking about some kind of code side-car file format which stores comments/docs separately. You'd then have a vertical split view with code on one side and the linked comments/docs on the other. You could select some code and use that to insert/link comments in the other pane.

I'm not entirely sure if I've ever seen something like this before - maybe as a feature in a specific language, but not as an IDE feature for all languages.

Re:Block Comments Are a Bad Idea by wdfx on Wednesday October 11, 2017 @08:44AM (#15449264)
as for using comments to disable code - you probably should have the active code in source control and then you are free to simply delete it.
Re:Block Comments Are a Bad Idea by narag on Wednesday October 11, 2017 @09:03AM (#15449385)
This solution or simply a switch to temporarily disable some chunk of code should be an easy-to-use part of the editor. The programmer should not be concerned with implementation details (implementation details of the editor/language, not the program being written) like nested comments, indentation, etc.