Hacker News new | ask | show | jobs
by xmcqdpt2 859 days ago
No it isn't. In C you often have to keep pointers around for longer than you need to so that you can free() them at the end of a block.

But still, the original post said that they have to deal with this:

> because I always see about 10 uninitialized variables at the start of each function, where half of those are used only once

That's bad!