(Optimization) Lazy evaluation : Postpone until the result is actually needed
In software engineering, we are sometimes taught to be prepared. We initialize variables, construct objects, and compute values early in a scope to ensure they are ready for use. This is known as “eager evaluation.”
However, we must be careful not to...
dongol-ts.hashnode.dev3 min read