Hacker News new | past | comments | ask | show | jobs | submit login

I quite often use region/endregion comments to group methods of an interface being implemented, especially if a class implements multiple interfaces. The advantage of those is that an IDE/editor can collapse them and it is easier to see hat methods belong to which interfaces.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: