Y
Hacker News
new
|
ask
|
show
|
jobs
by
MauranKilom
1567 days ago
It explicitly says "for most values of x", i.e. it assumes x to be initialized (but doesn't show so in the code).
1 comments
leetcrew
1566 days ago
not a good way to give the example then. most c or c++ developers are going to start twitching uncontrollably the second they see a variable declared uninitialized and then immediately read from.
link