Why do Java people frequently consume exceptions silently?

前端 未结 28 1702
傲寒
傲寒 2020-11-29 17:50

I never did any serious Java coding before, but I learned the syntax, libraries, and concepts based on my existing skills (Delphi & C#). One thing I hardly understand i

28条回答
  •  忘掉有多难
    2020-11-29 18:10

    Usually that is due to the IDE offering a helpful 'quick fix' that wraps the offending code in a try-catch block with that exception handling. The idea is that you actually DO something, but lazy developers don't.

    This is bad form, no doubt.

提交回复
热议问题