Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+36 votes

I don't know if this even a question, but when the user chooses the video they want, then a video object should be created. I just wonder if we should create that object right after they choose the file (the video object is the original video) or after they set the part of the video that they want (the cut video)?

asked in CSC285_Fall2018 by (1 point)

1 Answer

+17 votes
 
Best answer

I think that choice is up to you, and will depend on other choices within your code. It's not obvious to me whether one approach is superior to another.

I can see how it might be convenient to create the object earlier though, with just the filename (or path), and then fill in more fields later as the user gives you more information...

Other teams may have pros/cons that I haven't considered though, and I would be happy to hear what they are thinking, and why!

answered by (508 points)
selected by
...