How to mark logical sections of code in Java comments?

前端 未结 11 2080
温柔的废话
温柔的废话 2021-01-29 19:42

Java classes are generally divided into logical \"blocks\". Is there a convention to mark these sections? Ideally, it would be supported by the major IDEs.

I personally

11条回答
  •  一向
    一向 (楼主)
    2021-01-29 20:18

    If you can cluster your methods, do another class specifically for that concept that you want to capture in a section. Go ahead, creating files is free.

提交回复
热议问题