وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Java SE 17 Best Practices

سرفصل های دوره

Are you frustrated or slowed down by messy code? Make sure you don't write such code yourself! This course will teach you how to write clean, readable, and maintainable code that human beings can read and understand clearly.


1. Course Overview
  • 1. Course Overview

  • 2. Why Care About Best Practices
  • 1. Introduction
  • 2. Benefits of Clean Code
  • 3. Understanding the Prerequisites
  • 4. Setting up the Project
  • 5. Course Overview

  • 03. Whats in a Name
  • 01. Introduction
  • 02. Class Names Should Be Specific
  • 03. Class Names Should Reflect the SRP
  • 04. Class Names Recap
  • 05. Variable Names
  • 07. Method Name Basics
  • 09. Methods Must Do One Thing
  • 11. Methods - Exception to the Rule
  • 12. Abbreviations and Spelling
  • 13. Module Summary

  • 04. Creating Objects the Right Way
  • 01. Introduction
  • 02. Use Java Records
  • 04. Prefer Dependency Injection
  • 06. Know the DI Frameworks
  • 07. Protect with Guard Clauses
  • 09. Use Static Factory Methods
  • 10. Apply Constructor Chaining
  • 12. Recognize Primitive Obsession
  • 13. Know the Code Smells
  • 14. Builder Pattern to the Rescue
  • 15. Module Summary

  • 05. Implementing Methods Best Practices
  • 01. Introduction
  • 02. Adhere to the CQS Principle
  • 03. Keep Your Parameter List Short
  • 04. Demo - Reducing the Parameter List
  • 05. Demo - Removing Flag Arguments
  • 06. Prefer Enums Where Appropriate
  • 08. Demo - Replace String with LocalDate
  • 09. Failing Fast in Methods
  • 11. Null Objects - the Next Level
  • 12. Reducing Verbosity with var
  • 13. Avoiding Unnecessary Object Creation
  • 15. Returning Proper Values
  • 16. Prefer the Optional
  • 17. Module Summary

  • 6. Looking Closely at Strings and Numbers
  • 1. Introduction
  • 2. Use the StringBuilder in Loops
  • 3. Prefer Text Blocks
  • 4. Easy Reading with Separators
  • 5. Use BigDecimal Where Precision Matters
  • 7. Module Summary

  • 07. Iterating and Branching - the Good and the Better
  • 01. Introduction
  • 02. Writing Cleaner Conditionals
  • 04. Keeping Ternary Expressions Simple
  • 05. Switch to Switch Expressions
  • 07. How Not to if-else
  • 08. Prefer Streams over For Loops
  • 10. Avoid Overly Complex Streams
  • 11. Demo - Running the Search
  • 12. Module Summary

  • 08. Handling Exceptions Gracefully
  • 01. Introduction
  • 02. Catch Specific Exceptions
  • 03. Some RuntimeExceptions Shouldnt Be Caught
  • 04. Its OK to Catch Some RuntimeExceptions
  • 05. The Rules of the Catch Block
  • 06. Translate Exceptions
  • 08. Pass Pertinent Information
  • 10. Use Multi-catch Where Appropriate
  • 11. Prefer try-with-resources
  • 13. Module Summary

  • 9. Writing Meaningful Comments Only
  • 1. Introduction
  • 2. Redundant Comments
  • 3. Compensating Comments
  • 5. Logs and Wiki Comments
  • 6. Commented out Code
  • 7. Comments That Lie
  • 8. Legitimate Uses of Comments
  • 9. Module Summary

  • 10. Creating Better Tests
  • 01. Introduction
  • 02. Poor Name Tests
  • 03. Demo - Fixing Poor Name Tests
  • 04. Clueless Tests
  • 05. Demo - Making Tests More Focused
  • 07. DRY vs. DAMP
  • 08. Demo - DRY vs. DAMP
  • 09. Consider Using Libraries
  • 10. The Benefit of Helpful Messages
  • 12. Demo - Writing Helpful Messages
  • 13. Making Tests Independent
  • 14. Favor Composition in Test Infrastructure
  • 15. Demo - Refactoring to Composition
  • 16. Further Study
  • 17. Module Summary

  • 11. Course Wrap-up
  • 1. Learn Modern Java
  • 2. Maintaining Clean Code
  • 3. Further Study Recap
  • 4. Thank You
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 11143
    حجم: 338 مگابایت
    مدت زمان: 194 دقیقه
    تاریخ انتشار: 19 اردیبهشت 1402
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید