Hi all,
I'm not sure if this is the right forum, but the question is relevant to any
java (or other language) programmer.
There is the old debate on how many exit point should a method have?
I think that a method should exit the minute it know it can.
Others think that it should exit only in one location.
I don't want to open this discussion.
I have a different situation, I've recently inherited a project that is in a very early stage.
The guy you developed it before, had a convention of one exit point.
Now, should I continue with his convention, or whenever I write new functionality (method), I can use mine?
What do you think?