▲ | deadbabe 4 days ago | ||||||||||||||||||||||||||||||||||||||||
Variable names don’t matter in small scopes. | |||||||||||||||||||||||||||||||||||||||||
▲ | rented_mule 4 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
It certainly can matter in any scope. `x` or even `delay` will lead to more bugs down the line than `delay_in_milliseconds`. It can be incredibly frustrating to debug why `delay = 1` does not appear to lead to a delay if your first impression is that `delay` (or `x`) is in seconds. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
▲ | r0s 4 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
The scope of the cognitive effort is the total context of the system. Yes it matters. |