3 ms·
> I mean, why would you want only one return even? Some other comments here discuss resource cleanup issues that can creep into C code with early return. If
by SideburnsOfDoom 9y ago
> I mean, why would you want only one return even?
Some other comments here discuss resource cleanup issues that can creep into C code with early return.
If you're not coding in C, then more likely it's pure cargo-cult.
- spdionis 9y agoRight, I should've mentioned except arcane things (for us pleb web devs) happening in low-level languages.
- sifoo 9y agoAre you saying that closing files is now a cargo-cult thing to do? There are plenty of resources that are more important to clean up than memory. This has nothing to do with C.