Timeline for Personal book library
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 16, 2020 at 22:34 | comment | added | user231641 | @GrajdeanuAlex. Thank you! I'll add that in. I'm actually trying to convert this into a GUI application which would allow one to add songs, remove songs, etc with buttons. Do you happen to know if this is possible with the current design I have? | |
| Oct 10, 2020 at 20:45 | history | edited | user228914 | CC BY-SA 4.0 |
added 17 characters in body
|
| Oct 10, 2020 at 19:46 | vote | accept | CommunityBot | ||
| Oct 10, 2020 at 8:21 | comment | added | Grajdeanu Alex |
Small suggestion/nitpick: it is common to just use books instead of book_list
|
|
| Oct 9, 2020 at 13:26 | history | edited | user228914 | CC BY-SA 4.0 |
added 79 characters in body
|
| Oct 9, 2020 at 13:24 | comment | added | user228914 | @AaronWright Inheritance is useful, but if you ask me, I would say no to use it in this scenario | |
| Oct 9, 2020 at 13:22 | comment | added | user231641 |
Ah I see. Thank you. I think this is similar to what I have, but just having subclasses of books which inherit from Book.
|
|
| Oct 9, 2020 at 13:19 | history | edited | user228914 | CC BY-SA 4.0 |
added 1471 characters in body
|
| Oct 9, 2020 at 13:01 | comment | added | user228914 |
@AaronWright It is not absolutely necessary that it would need to be a parent. In fact, I would recommend Library to be a separate class which would create a list of Book objects
|
|
| Oct 9, 2020 at 12:53 | history | edited | user228914 | CC BY-SA 4.0 |
added 160 characters in body
|
| Oct 9, 2020 at 12:44 | history | edited | user228914 | CC BY-SA 4.0 |
added 116 characters in body
|
| Oct 9, 2020 at 12:21 | history | edited | user228914 | CC BY-SA 4.0 |
deleted 11 characters in body
|
| Oct 9, 2020 at 12:15 | history | edited | user228914 | CC BY-SA 4.0 |
added 1465 characters in body
|
| Oct 9, 2020 at 11:23 | comment | added | user231641 | Thank you. Yes having Book as the parent class would make more sense now I think about it. I'll be sure to change list as well. Regarding having magazine and book as child classes of library, I'm not quite sure how this would work. However this is probably just down to me not being that knowledgable regarding inheritance. What kind of methods would the parent class Library have in this instance? | |
| Oct 9, 2020 at 11:01 | history | answered | user228914 | CC BY-SA 4.0 |