Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
util
· 15y ago · 0 comments
No objects = no structs?
Comments
[–]
cicero
15y ago
There are structs in C, as well as unions, but they are data only - no methods.
[–]
swift
15y ago
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.