West Midlands | 26-May-ITP | Alina Sofragiu | Sprint 1 | Coursework#1342
West Midlands | 26-May-ITP | Alina Sofragiu | Sprint 1 | Coursework#1342sofragiualina wants to merge 1 commit into
Conversation
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work on this task, lots of good explanations. There's one task where I left a comment for you to review
| //It removes the extra seconds first, then divides by 60 to get complete minutes | ||
| // e) What do you think the variable result represents? Can you think of a better name for this variable? | ||
|
|
||
| //The movie length formatted as hours:minutes:seconds a better name could be movieTime |
There was a problem hiding this comment.
Is it clear enough what the difference is between a "length" and a "time"?
There was a problem hiding this comment.
a length is a duration, while a time is usually a specific point on a clock, so in that case movieTime isn't the best choice and i will think that movieDuration will be more suitable because it clearly describes that the variable represents how long the movie lasts.
There was a problem hiding this comment.
Does it accurately describe the form of the data, e.g. which is in a particular format and which is just a number?
There was a problem hiding this comment.
describes what the value represents, but not its format
There was a problem hiding this comment.
OK. That's fine, it's worth being aware of how things differ. E.g. some people may expect a duration to be formatted a particular way, others may think it is similar to time. But overall, this task is complete. Well done
There was a problem hiding this comment.
Thank you for your feedback
Learners, PR Template
Self checklist
Changelist
Completed JavaScript exercises with explanations and comments added throughout the code to improve understanding.