Skip to content
Y
yTube.SITE v8.0.4
media / worlds / tools / internet oddities
YouTube / video information

Single Responsibility and Cohesion: Break Up a God Class | Java 10 #Shorts

Video information, playback and saved actions.

Single Responsibility and Cohesion: Break Up a God Class | Java 10 #Shorts

Description: A formatting change should not store the same result twice. See how separating responsibilities protects behavior, not just class size.

Full lesson: Java Episode 10 - Single Responsibility and Cohesion: Break Up a God Class

Subscribe to Think Make Explore for practical Java tutorials and software design lessons.

Example notes: Storage is in memory; the example does not implement a durable database transaction.

LEARNING REFERENCES
Single responsibility discussion: https://blog.cleancoder.com/uncle-bob/2014/05/08/SingleReponsibilityPrinciple.html
Java21 exact arithmetic: https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Math.html#multiplyExact(long,long)
Java21 immutable list snapshots: https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html#copyOf(java.util.Collection)

#Java #SingleResponsibility #Shorts Close description
      
Videos related to "Single Responsibility and Cohesion: Break Up a God Class | Java 10 #Shorts"

Related videos are temporarily unavailable.

Try again, or come back later.