New answers tagged error-handling
I think it's impossible to give a definitive answer here, because choiches like this are personal preference. Consider that what follows is my approach, and I have no presumption it is the right one. What I can say for sure is that you should avoid your third option: Just return null/false This is bad under different aspect: return type ...
Top 50 recent answers are included