Become an AI & ML Engineer with Cal Poly EPaCE — IBM-Certified Training
AI Engineer - Learn how to integrate AI into software applications
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore a novel programming technique in this 20-minute conference talk that introduces "lazy-freeze" - an innovative approach to object immutability in Python. Learn how objects can remain mutable during their initial lifecycle but automatically become immutable upon their first hash calculation, allowing for convenient manipulation until the object is used as a dictionary key or set item. Discover how this method maintains safety and integrity while providing flexibility in object design. Gain insights from an experienced developer with over 20 years of programming expertise as they demonstrate practical applications and benefits of this hashing and immutability strategy for Python development.
Syllabus
Lazy-Freeze: Another Look at Hashing and Immutability / Ofek Shilon
Taught by
PyCon Israel