The ‘resource acquisition is initialization’ Idiom
Many objects of various kinds share a similar characterization: they have to be acquired by means of initialization prior to their usage, then they can be used, and finally –
Many objects of various kinds share a similar characterization: they have to be acquired by means of initialization prior to their usage, then they can be used, and finally –