top | item 44724331

(no title)

r0s | 7 months ago

The purpose of code is for humans to read.

Until AI is compiling straight to machine language, code needs to be readable.

discuss

order

deadbabe|7 months ago

Variable names don’t matter in small scopes.

rented_mule|7 months ago

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|7 months ago

The scope of the cognitive effort is the total context of the system. Yes it matters.