• MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    Quote:


    to be honest: this is a bad example. Using RETURN_IDs might be more easy for beginners, but I don't think it's good to learn outdated programming style. I know that a construct using classes, methods and attributes looks more difficult for the beginner (I was at the same point not long ago), but IMHO it's better to learn the right stuff in the beginning than to get used to some unsuitable programming style.



    I know. But to keep it simple enough there wasnt choice. Using hooks is horror - lot of work to get stupidly simple function call done. MUI really needs MUIM_CallFunction method to do that.

    But I'm preparing better (and more complex) example which uses custom classing technique. Stay tuned! :-D
    1 + 1 = 3 with very large values of 1
  • »12.02.04 - 21:06
    Profile