How to stop confusing articles in English (in OOP terms)

    When we talk about “class description”, we use the article “a” or “an”. When we are dealing directly with a specific embodiment of an object (instance), we say “the”. Everything is simple :)

    the_Apple = new an_Apple();

    By the way, the same principle can be applied in the opposite direction, so as not to confuse class descriptions with the objects themselves.

    Also popular now: