single responsibility

Things I Learnt The Hard Way - If A Function Description Includes An "And", It's Wrong

1 minute read Published: 2019-06-23

Functions should do one thing and one thing only. I clear indication that you're breaking this principle is the need to add an "and" in its documentation.