Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
argv_empty
· 14y ago · 0 comments
The article explains why closures are a poor man's objects. Be sure to read the comments to see why objects are a poor man's closures.
Comments
[–]
w0utert
14y ago
The comments do in fact contain more interesting insights than the article itself. Good discussion.
[–]
zanny
14y ago
Both are a poor mans structs with name mangling!
[–]
anonymous
14y ago
But really, those are all just fancy names for 'void*' for people who can't remember two things at once.
[–]
cpeterso
14y ago
A pointer itself is not a composite data type. It can't remember two things at once.
[–]
jerf
14y ago
void* is the zombo.com of pointers. It can do anything. The fact that it can do absolutely, utterly anything is precisely why it is useless.