|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/mastering-java-exceptions-with-best-practices/
课程评论:没有评论
课程名称:掌握Java异常及最佳实践 课程概述:本课程旨在帮助学员深入理解Java异常机制,不仅仅是学习Java异常作为语言特性,而是更重要的是如何正确地使用它们。虽然大多数Java课程通常只简要介绍这些内容,但要构建真正稳健的软件以应对时间的考验,学员需要对异常有更深入的理解。这门课程要求学员在约3小时内掌握相关内容。 教学方式:课程主要通过编写代码的方式讲解所有主题,首先通过幻灯片解释,然后在代码中演示。课程内容逐步构建,涵盖异常相关的语言特性,如try/catch/finally、throw/throws、checked与unchecked异常、try-with-resources语句及抑制异常等。此外,还结合《Effective Java》中列出的最佳实践来讲解相关原则。在课后的附加章节中,学员将学习如何在Eclipse中调试Java程序,以及使用JUnit进行单元测试。课程最后有一个精心设计的测验,以验证所学内容。 课程结构:首先涵盖所有与异常相关的语言特性,随后讨论最佳实践,重点是代码示例。此外,课程也提供可下载的代码,以便学员进行实践。 讲师及其课程动机:讲师在Java开发领域有超过10年的经验,曾为硅谷的初创公司开发产品,尤其在数据集成软件的设计与实现中,异常处理机制起到了重要作用。讲师希望通过这门课程能够帮助他人掌握Java和异常处理的最佳实践,而不是仅限于基础知识。 总之,本课程旨在提供全面的学习体验,帮助学员在Java异常处理方面实现全面提升。欢迎学员提出问题并分享反馈,课程将不断更新与完善。
Note: You don't have to register for this course if you have already registered for my comprehensive Java course ~ Java In-Depth: Become a Complete Java Engineer!. The Java course includes all the content that is covered in this course. Building reliable software is not just about understanding how Java exceptions work, but to also understand how to use them in the right way. So, it is more than learning Java exceptions as a language feature and that is what this course aims to teach. This intensely practical specialized course has been designed with following objectives: To give you a complete understanding of the Java exceptions mechanismTo teach the best practices & idioms for effectively writing Java exceptions Exceptions are almost always covered as a short chapter/topic (typically 30 - 45 minutes) in a larger Java course and they only cover the basics of Java exceptions. This may suffice most of the times. But to build truly robust software that can withstand test of times and also help you to quickly identify and debug any bugs, you would need to have a more solid understanding of exceptions and how to use them effectively. Through the above objectives, this course aims to give you that kind of a solid foundation in just about 3 hours of time. Teaching Style: All the topics will be covered by writing code. Sometimes, the topics are first explained in slide format for better clarity and then will be demonstrated in code. Most of the code is based on a single concept of sharing data with a partner in a programmatic way. The code will be built gradually with each discussed topic. Every lesson that includes a demo will also come with downloadable code that was implemented in that lesson. You may have to change the file extension to.java for running the downloaded programs. Everything is demonstrated in Eclipse IDE. Some lessons have additional supplementary notes, which can be downloaded from the resources section of each lesson. Course Structure: We first cover all the exception-related language features following which best practices are discussed. Following are most of the language features covered: try/catch/finally & throw/throwschecked vs unchecked exceptionstry-with-resources statement & suppressed exceptionsassertions (discussed after best practices) As for the best practices & idioms go, we discuss in code all exception-related principles outlined in the popular Effective Java book. This is one of the highlights of the course and will make you truly complete! There is also a bonus chapter where we demonstrate how to debug Java programs in Eclipse and also how to use JUnit unit testing framework. The course also ends with a carefully crafted quiz to validate what you have learnt. Instructor & His Motivation for Creating this Course: I have over 10 years of experience in Java developing products for start-ups in silicon valley and elsewhere. Fortunately, I also had the opportunity to design & implement few critical data integration software components where exceptions had a very important role to play. By implementing a good exception handling mechanism that followed proper idioms & best practice rules, we were able to handle many serious issues. While we were aware of some of the idioms, we also had to learn some on-the-go, which required some code refactoring. And we also missed out on some due to lack of knowledge about them. Part of the reason was that we were never exposed to these best practices & rules when we first learned Java (or Java Exceptions) through some course/book. So, learning best practices & rules would have to be a separate endeavor, which sometimes may never happen due to various reasons (time is one of them). I realized that it is entirely possible to teach both fundamentals & many of the advanced concepts like best practices in a single comprehensive course. So, this course is a result of that realization where a more holistic approach is taken to teach concepts. Building this course itself has been a wonderful journey for me and I hope you will also find this course to be equally enriching & useful. I will continue to devote myself in building this course. Always, feel free to message me if you have any questions and I promise to address them as quickly as I can. Also, don't forget to leave a review (good or bad) as it helps me and other prospective students. Thanks!!