4 ms·
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_servi
by notadev 5y 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”)
```
- peakaboo 5y agoAnd this is all you need to do really.