Design patterns: Object pool

What do car rentals and libraries have in common? They temporarily lend resources only as long as someone needs them and then take them back so that someone else can use them. In object-oriented programming, such a system is called an ‘object pool’.

Continue reading “Design patterns: Object pool”