Hacker News new | ask | show | jobs
by kleiba 1857 days ago
Thank you very much.

What are examples of situations where the other pattern would be preferable?

1 comments

afaik the only time you are really supposed to use uninitialized values is when you are planning on reading it in from some stream.

otherwise you should really avoid it.