Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Student
Impact
~320 people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Apr
16
awarded  Student
Apr
10
awarded  Scholar
Apr
10
comment Catching an error?
@OeufcoquePenteano Thanks for the insight.
Apr
10
accepted Catching an error?
Apr
10
awarded  Supporter
Apr
10
comment Catching an error?
Well, there are cases where there is no comparison between the two, but I can think of some cases where they converge. For instance, let's take an illegal casting in java, I can either let it fail and catch the exception or I can check whether the element I'm about to cast is an instance of the casting class. Now, which solution appears to be better practice.
Apr
10
asked Catching an error?