Today, I reviewed and refreshed my understanding about objects, and object instantiation. I have always clearly understood creating, modifying, and deleting objects and their attributes. Today, though, I learned a new term: object literal notation and object constructor. In my PHP work, I've seen "constructor" term, and truthfully, never fully understood it. After review and practice today, I see how it works. It's funny, I always "hook" my new learning onto something I learned in the past. In this case, my work building text-based games was instrumental in my understanding of objects. @create foo; @set foo=thing/value, etc...
I have forgotten how much I enjoy /just coding/ and hacking. It is a real pleasure.
Published on Thursday, April 02, 2015 (about 4 years, 2 weeks, and 7 days ago). Posted in: Computer Science