1 MIN JAVA QUICK TIP | USING THE BUILDER PATTERN

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ม.ค. 2023
  • Is some of your Java code suffering from "Constructor bloat"?
    This can happen when (over time) you have multiple constructors for the same Object!
    public Foo() {}
    public Foo(String){}
    public Foo(String, String){}
    public Foo(String, String, Date){}
    Solve all this bloat by making use of the Builder pattern available to you in Lombok!
    #Java
    #Tutorial
    #springboot
    🔗Resources & Links mentioned in this video:
    - Visual Studio Code - code.visualstudio.com/
    - Lombok Documentation - projectlombok.org/features/Bu...
    👋🏻Connect with me:
    Twitter: / eyuzwa
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2

  • @wazoowebbytes
    @wazoowebbytes  ปีที่แล้ว +1

    Hey everyone! Just trying to provide a suggestion on some ways to help out your Java codebase. Hope it helps you out!

  • @jopadjr
    @jopadjr ปีที่แล้ว +1

    3rd...Thanks