Don’t worry – you don’t have to cope with too-short deadlines after you’re dead. Up to that minute, and especially after graduation, though, it’s all deadlines and priorities. Grok the concept.
You’ll find the head-fake (as Randy Pausch calls it) is teaching you to manage your time and priorities WHILE you’re learning your craft. Like how we learned C++ in an algo course by having the Prof teach Zero C++ and expecting us to pick it up.
Sure, committing to a deadline is reasonable if you are included in the decision calculus of scope vs time. Part of that should be to include space for learning as needed to understand anything you’d copy.
Omitting that is a recipe for low quality garbage and not only will the code suffer, but the organization also will while all the staff fall behind any competitors who make the investment.