Hacker News new | ask | show | jobs
by notadev 1630 days ago
I’ve always tried to use naming of variables and methods to make it obvious what the code is doing. Something like:

``` if service_is_disabled: start_service() else: send_notification(“Service is running”) ```

1 comments

And this is all you need to do really.