Timeline for When and why you should use void (instead of e.g. bool/int)
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 10, 2015 at 0:33 | comment | added | Suamere | +1 This doesn't answer the question, but it is definitely correct information. When making a decision, the decision should be based on an a need. If the callers don't find the return data useful, it shouldn't be done. And nobody finds use in returning true 100% of the time for "future proofing". Granted, if "future" is like... a couple days from now and there's a task existing for it, that's a different story, lol. | |
| Apr 13, 2011 at 10:02 | history | answered | refro | CC BY-SA 3.0 |