Lazy Initialization Computer Programming (1 results)

Title
Refine with Advanced Search

Refine your search

  • Books (1)

  • New (1)

to

Custom price range (US$)

to

    • Language: English

      Published by Omniscriptum, 2011

      6134272116 / 9786134272117

      • Softcover
      • Print on Demand

      Seller: AHA-BUCH GmbH, Einbeck, GermanyAHA-BUCH GmbH

      5-star seller
      Contact seller

      Condition: New

      US$ 296.69

      US$ 35.19 shipping 
      Ships from Germany to U.S.A.

      Quantity: 1 available

      Taschenbuch. Condition: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering - Please note that the content of this book primarily consists of articlesavailable from Wikipedia or other free sources online. In computerprogramming, lazy initialization is the tactic of delaying the creationof an object, the calculation of a value, or some other expensiveprocess until the first time it is needed. This is typicallyaccomplished by maintaining a flag indicating whether the process hastaken place. Each time the desired object is summoned, the flag istested. If it is ready, it is returned. If not, it is initialized on thespot. See lazy evaluation for a general treatment of this idea. Inheavily imperative languages this pattern carries hidden dangers, asdoes any programming habit that relies on shared state.