Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Errata in Programmers Heaven's C# ebook

Hello everyone!
I just started learning c#, downloaded and printed your e-book, and find it cool! However, at page 79 where inheritance is discussed, I read "we go 'from specialization to generalization'." I may be wrong, but don't you think it's the other way around? From what I've understood so far, inheritance let us go from generalization to specialization, doesn't it? Thanks in advance for your comments.

Comments

  • JonathanJonathan Member Posts: 2,914
    Hi,

    : I just started learning c#, downloaded and printed your e-book, and
    : find it cool!
    Great! :-)

    : However, at page 79 where inheritance is discussed, I
    : read "we go 'from specialization to generalization'." I may be
    : wrong, but don't you think it's the other way around? From what I've
    : understood so far, inheritance let us go from generalization to
    : specialization, doesn't it? Thanks in advance for your comments.
    :
    I think I agree with you. I wonder if the text was referring to the diagram and the direction of the arrow, which does point from specialization to generalization. But in the text that's hardly clear. So, I've taken your suggestion and changed it, with a comment on how that relates to the diagram to avoid confusion. So that will go into the next edition. Thanks! :-)

    Jonathan
    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
  • zhu_coderzhu_coder Member Posts: 2
    Humbly yours! Peace and happy coding to all.
Sign In or Register to comment.