From 062a497f31764fa470384b6da59a674cb6882282 Mon Sep 17 00:00:00 2001
From: Jonathan Kings 19 .̴
of object it is—string, instance, etc. Following that are the payload fields.
Instead of a union with cases for each type, each type is its own separate
struct. The tricky part is how to treat these structs uniformly since C has no
-concept of inheritance or polymorphism. I’ll explain that soon, but first lets
+concept of inheritance or polymorphism. I’ll explain that soon, but first let’s
get the preliminary stuff out of the way.
The name “Obj” itself refers to a struct that contains the state shared across all object types. It’s sort of like the “base class” for objects. Because of