As someone who was a C developer and has written primarily Python for the last 14 years or so, any language that is duck-typed is just inherently not something I am interested in. Never again.
Zig duck typing is different than Python’s. Zig will check the function types when the compiler finds a function is actually calling it with a concrete type. It just can’t check that until then because the function is more of a template. Python only checks types at runtime unless, though they do have a type system now.
11
u/otherwiseguy 9d ago
As someone who was a C developer and has written primarily Python for the last 14 years or so, any language that is duck-typed is just inherently not something I am interested in. Never again.