Quantcast
Channel: Posts on JeeLabs
Viewing all articles
Browse latest Browse all 232

Closures versus Objects

$
0
0
For a recent project I’ve been working on, I had to deal will lots of small components, each with somewhat different behaviour, and had tried several times (unsuccessfully) to come up with a good design for them. Solving such puzzles tends to depend surprisingly deeply on the programming language used: in C, you’d need to create an ad-hoc object system and muck around with function pointers. In Java and C++ you’d set up an elaborate class hierarchy.

Viewing all articles
Browse latest Browse all 232

Trending Articles