G
Size: a a a
G
f
{.requiresinit.}
конечно круто ноinitT
responsibility for correct initialization is pushed to all potential users of a type, again and again, potentially breaking adjacent layers of abstraction (each user of Obj must be aware that it is important to construct it using initT and is responsible to making this knowledge available to next abstraction layer (via documentation or .requiresinit.))ᴅ
ᴅ
ᴅ
ᴅ
ᴅ
ᴅ
ᴅ
person.drink(person)
ᴅ
ᴅ
g
ᴅ
ᴅ
g
g
g
ᴅ
identifier.Type
g
g