Inheritance is easy enough and also a convenient way to keep code clean when you have classes that are similar. Recursion on the other hand is something I've always had trouble with since I often find the logic there confusing sometimes which results in some unintentional things happening when I use it. Definitely will need more practice in this area.
No comments:
Post a Comment