Most of the time I can't do anything about an exception and checked exceptions force me to write boiler plate to deal with them - either giant throws clauses or wrap in another exception. So I argue the cost of having to deal with them in every case (checked) is greater than the cost of dealing with them in the rare case (unchecked).
2011/3/28 Cédric Beust ♔ <[email protected]> > > > On Mon, Mar 28, 2011 at 12:04 PM, phil swenson <[email protected]>wrote: > >> This is the where we fundamentally disagree - I would prefer to discover >> these rare cases at test/runtime > > > What is the advantage of discovering at runtime things that could be caught > by the compiler? > > -- > Cédric > > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
