Ignacio Raguet

67%
Flag icon
The RuntimeException was worse; it’s better to throw a custom exception. In this case, though, the Java convention is to return null rather than throw an exception. I already had a note that I should test the case where name isn’t found; I revised it to say that the correct behavior was to return null.
Ignacio Raguet
Qué? The java convention es devolver null?
The Art of Agile Development: Pragmatic Guide to Agile Software Development
Rate this book
Clear rating