This entire project needs a serious second opinion and review. It has some real issues that needs to be addressed IMO. I posted the links so they can be compared side by side to show the meaning of what I am getting at.
Mediaclass, create an empty
constructor()method that takes one parameter. This argument will set the one property that is in all three subclasses of
Media, and does not have a default value.
Ok, so you could put anything here. The video suggest title. But their are many ways to sort media, or anything for that matter. I’m old enough to recall a library an index cards. No default to it being sorted by title. It can be sorted by whatever means you want and the information is retrieved by whatever means you wish. Date, author, publisher, genre, etc. But lets just assume title here.
Why is that matter? Because if you get to Step 4, you will see that the request for title. That means unless you explicity put title in Step 2, you just now did Step 2, 3, 4 incorrectly, and its confusing. So if you explicity want title, why did you just not say so in Step 2?
Honestly, I put arg for title, because it wanted an argument, but I had no idea what argument it wanted until I did a few more steps.
Inside the constructor, set the values for
Movieshare. Prepend all of the property names with an underscore (
Ok, with what? If you watch the video it tells you the answer, but thats because they skipped several steps forward into the middle of the project to figure that out? Why? As if this isn’t confusing enough, lets make it more confusing? Why would we set key:value on something that he have no idea what they are until later on? Like, we are talking about skipping steps all the way to Step 7 to figure this out. Why? This is unnecessary.
If you got to this step without looking ahead, you will have to go back and redo your work before you can carry on with this step.
There are some more rough spots here and there in the project. But at least they are linear and if you at most skip one step ahead of go one step back you can figure it out along with looking at the hint or watching the video. But this project is impossible to complete without the video until you get past at least Step 7, and really pass the creation of the parent class.