Reader small image

You're reading from  Kotlin Design Patterns and Best Practices - Third Edition

Product typeBook
Published inApr 2024
PublisherPackt
ISBN-139781805127765
Edition3rd Edition
Right arrow
Author (1)
Alexey Soshin
Alexey Soshin
author image
Alexey Soshin

Alexey Soshin is a software architect with 18 years of experience in the industry. He started exploring Kotlin when Kotlin was still in beta, and since then has been a big enthusiast of the language. He's a conference speaker, published writer, and the author of a video course titled Pragmatic System Design
Read more about Alexey Soshin

Right arrow

Template Method

Some individuals have elevated laziness to an art form, and I count myself among them. Let me give you a glimpse of a typical day in my life:

  1. 8:00 A.M. – 9:00 A.M.: Stroll into the office
  2. 9:00 A.M. – 10:00 A.M.: Savor my morning coffee
  3. 10:00 A.M. – 12:00 P.M.: Perhaps attend a meeting or two or sift through some code
  4. 12:00 P.M. – 1:00 P.M.: Step out for a leisurely lunch
  5. 1:00 P.M. – 4:00 P.M.: Maybe another meeting or more code reviews
  6. 4:00 P.M.: Make my quiet exit home.

Certain aspects of my routine remain constant, while others fluctuate. Notably, there are two windows in my day that could be filled with any number of meetings.

Initially, I considered framing my dynamic schedule with setup and teardown routines for the events preceding and succeeding it. But then there’s the sanctified lunchtime, a ritual essential for architects, nestled right in the middle.

The...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Kotlin Design Patterns and Best Practices - Third Edition
Published in: Apr 2024Publisher: PacktISBN-13: 9781805127765

Author (1)

author image
Alexey Soshin

Alexey Soshin is a software architect with 18 years of experience in the industry. He started exploring Kotlin when Kotlin was still in beta, and since then has been a big enthusiast of the language. He's a conference speaker, published writer, and the author of a video course titled Pragmatic System Design
Read more about Alexey Soshin