3 ms·
In theory they are the same thing, in practice they are not. If you treat closures like objects, they are tedious, and missing lots of nice conveniences that O
by stonemetal 11y ago
In theory they are the same thing, in practice they are not.
If you treat closures like objects, they are tedious, and missing lots of nice conveniences that OO languages provide for their objects.
If you treat Objects like closures then they are heavy weight, have too much formality, and have annoying limitations to work around.