Lazy Initialization
Everything on SkillVeris tagged Lazy Initialization — collected across the glossary, study notes, blog, and cheat sheets.
4 resources across 1 library
Interview Questions(4)
Decorator vs Proxy Pattern
The Decorator pattern wraps an object to add new responsibilities or behavior on top of what it already does, while the Proxy pattern wraps an object to contro…
What is a Thread-Safe Singleton?
A thread-safe Singleton is an implementation of the Singleton pattern that guarantees exactly one instance is created and visible to every thread even when mul…
What is Lazy Initialization in OOP?
Lazy initialization is the technique of deferring the creation of an expensive object or the computation of a value until the exact moment it is first actually…
Eager vs Lazy Initialization in OOP
Eager initialization creates an object’s dependencies or resources up front, at declaration or construction time, while lazy initialization defers creation unt…