Hacker News new | ask | show | jobs
by util 5550 days ago
No objects = no structs?
1 comments

There are structs in C, as well as unions, but they are data only - no methods.
Well, function pointers exist in C, though they are certainly a clumsy replacement for having methods (or first-class functions / closures / currying) built into the language.