Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Next time you have an interview

Next time you have an interview

Scheduled Pinned Locked Moved The Lounge
csharpcomalgorithmsoopquestion
23 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Ennis Ray Lynch Jr

    Not to quibble but polymorphism is not the most important concept in OO. In fact, without inheritance you can't have polymorphism. (BTW, hiding implementation behind interfaces is a form of inheritance)

    Need a C# Consultant? I'm available.
    Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #21

    Ennis Ray Lynch, Jr. wrote:

    without inheritance you can't have polymorphism

    I disagree. How about polymorphic funcitons in C, take printf() foro example. THats got plenty of forms.

    Morality is indistinguishable from social proscription

    1 Reply Last reply
    0
    • E Ennis Ray Lynch Jr

      Throw the guy for a loop when he or she asks for the three fundamental concepts of object oriented programming. Depending on which book you read there are three, five, or eight fundamental concepts of object oriented programming. Who can name all eight without looking, all five, and all three? Bonus, if you can identify which book the five and eight come from. (No web searching)

      Need a C# Consultant? I'm available.
      Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #22

      Ennis Ray Lynch, Jr. wrote:

      three fundamental concepts of object oriented programming

      Data hiding must be the highest on the list since it is the reason why we have OO engineering. Polymorphism is crucial to creating objects of different type with similar interfaces alowing the same code to manipulate any type. Inheritence is usefully, but not necessary, so it comes down the list. As for the rest, they must be minor details like abstract classes, multiple inheritence, operator overriding, ... hmm, thats ablout it for me.

      Morality is indistinguishable from social proscription

      1 Reply Last reply
      0
      • L leppie

        Next time cover his question/answer sheet, and ask him to name them to you without pause.

        xacc.ide - now with IronScheme support
        IronScheme - 1.0 alpha 2 out now

        O Offline
        O Offline
        Oakman
        wrote on last edited by
        #23

        leppie wrote:

        Next time cover his question/answer sheet, and ask him to name them to you without pause.

        a 5

        Jon Smith & Wesson: The original point and click interface

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups