How many C++ programmers does it take to change a light bulb?
You're still thinking procedurally. A properly designed light bulb object would inherit a change method from a generic light bulb class, so all you would have to do is send a light-bulb-change message.
Related:
How many C++ programmers does it take to change a light bulb?
You're still thinking procedurally. A properly designed light bulb object would inherit a change method from a generic light bulb class, so all you would have to do is send a light-bulb-change message....