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

I like the approach of aiming for ~80 chars, allowing ~88 chars but not being anal about it and allowing judicious use of disabling rules on a per-line basis.

This seems common in Python using a combination of black to do the formatting and flake8 to enforce it. It works well in almost all cases. I've not encountered many situations where one could argue >88 chars leads to the most readable code.




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

Search: