421

Waiting for this day....

Comments
  • 12
    This is exactly how everyone has oop
  • 12
    This reminded me of TutorialsPoint :P They have Dog /Animal class names in most of their example codes...
  • 0
    @RedBorg @SheShell Thats how i started oops...
  • 1
    I... Just don't get it...

    What exactly is supposed to be funny about that?
  • 3
    Eww... Java 😝
  • 1
    @Krokoklemme that's kind of sad 😔
  • 8
    @Gogeta70 yes, the beautiful way is
    public class Dog : Animal
    {
    //Bork bork
    }
  • 2
    @SGrigorov then help me out of my misery and tell me what's funny about some stupid OOP tutorial "joke"
  • 5
    @Krokoklemme i can't make it funny for you😄😄
  • 0
    @SGrigorov That's better, but it's still Java...
  • 4
    @Krokoklemme It’s ironic because most tutorials use Animals when describing OOP. Here we have a specific example where we can use that information. It’s like what SheShell said above.
  • 1
    @52cal I understand that much, I just don't see where it's supposed to be funny

    Just not my humor, I guess
  • 0
    @Gogeta70 my reply was c# 🙏
  • 1
    @SGrigorov Ah, I was never too familiar with C#. The 'public class' looked like Java to me 😅
  • 5
    It's ironic because this would be a terrible way to actually design such a system.
  • 1
    Wrong! Composition over inheritance!
  • 0
    @DuckyMcDuckFace Yeah it would be better just to do a classification by clients and store it some kinds of way
  • 0
    I have a bad flashback. Send help.
  • 3
    Ha ha. No one mention w3schools. 😊
  • 2
    This would be a bad design because you don't know all the animals that will come to the veterinary center. And you don't want to spend a whole month creating all the classes extending Animal. All types of animals should be placed in a database. There must be an easy way to add new records.

    So no, that day won't come. Ever.
  • 0
    how about...

    class Animal {
    string genus; // e.g. Felis
    string specificName; // e.g. catus
    }

    no need to create lots of classes
  • 0
    It is interesting
  • 0
    Great day as usual. I'm also waiting for that.
Add Comment