Introduction

Get introduced to the concepts we will learn in this chapter.

In this chapter, you will learn how to use proxy objects and lazy evaluation in order to postpone the execution of certain code until required. Using proxy objects enables optimizations to occur under the hood, thereby leaving the exposed interfaces intact.

This chapter covers:

  • Lazy and eager evaluation
  • Using proxy objects to avoid superfluous computations
  • Overloading operators when working with proxy objects

Get hands-on with 1400+ tech skills courses.