Jūs esateŽurnalai / Ernestas Kardzys's blog / How many C++ programmers does it take to change a light bulb?
How many C++ programmers does it take to change a light bulb?
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.


Unfortunately C++ uses method calls instead of message passing so it would FAIL miserably =)
You should use ObjectiveC.
Cool joke ;]
Instant Recommendation *thumbs up*
Jo :D na truputį pakeistas, bet geras :D
Skelbti naują komentarą