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?


ParašėErnestas Kardzys - 2009 Balandžio 24

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ą

Šio laukelio turinys bus laikomas privatus ir nerodomas viešai.
  • Web puslapiu adresai ir el. pašto adresai automatiškai tampa nuorodomis.
  • Leidžiamos HTML žymės: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Linijos ir paragrafai atskiriami automatiškai
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

Daugiau informacijos apie teksto formatavimą

CAPTCHA
Šis klausimas yra skirtas įsitikinti, jog jūs esate žmogus, ir sustabdyti automatinį šlamšto siuntimą.
9 + 8 =
Išspręskite šią paprastą matematinę užduotį ir įveskite atsakymą. Pvz., jei užduotis yra 1+3, įveskite 4.