/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
John Carmack on mutable variables
(twitter.com)
498 points
azhenley
| 1 comments |
31 Oct 25 02:34 UTC
|
HN request time: 0.389s
|
source
Show context
Havoc
◴[
31 Oct 25 09:36 UTC
]
No.
45770043
[source]
▶
>>45767725 (OP)
#
Good point. Had never occurred to me that keeping steps help debug. Obvious in hindsight
replies(1):
>>45770089
#
1.
Sammi
◴[
31 Oct 25 09:44 UTC
]
No.
45770089
[source]
▶
>>45770043
#
For the same reason almost all my functions end with this:
const result = ... ; return result;
I know debuggers can show return values, but that doesn't help when you're just doing a quick console log inspection.
ID:
GO
↑