@GreySheep Had to join to reply; this came up on my google news feed you seem like you need a geek to help you to make a more informed choice.
I'm a software developer, been doing it for almost 20 years I'm fairly sure to some I'm going to come across as some computer snob, but sod it, you need one right now.
I own a 15" 2015 model, that I bought new from Ebuyer the day Apple discontinued the model (Jul 2018), meaning I willingly purchased the final non-pre-owned stock for the reasons below. It's the last MBP with USB ports for the standard in use today (you need dongles now) and the magnetic power cable (my kids would have destroyed my laptop a few times without this), was considered apples last decent laptop until this month.
The newer designs feature a terrible keyboard mechanism the butterfly keyboard, They got sued, the keys fail with little bits of dust, not crumbs but actual dust over time makes the keyboards fail.
They also have thermal issues; they made the machines too small with inadequate cooling for the processor meaning the machines throttle the processing speed under load.
They replaced function keys with a customisable OLED Retina multi-touch display which is generally not liked mainly due to no physical escape key.
These issues have been addressed by apple in the new 16" model released this month (www.apple.com/uk/macbook-pro-16/), this laptop is probably the most powerful notebook you can buy right now. Most importantly, they don't have the faults present in all the other MBP's available to purchase now from retailers or Apple directly that I listed above.
I'm sorry to be argumentative but people saying students don't need tools to learn are incorrect, it's not helpful, your out of touch, times change. Also not surprised people are saying don't buy this for a teenager that was my knee jerk reaction too.
Anyway, I can see where you are coming from, a memorable item from a family member to support your child in the future. MacBook Pro's don't use "pro" as some meaningless marketing additive it is professional-grade hardware, so this laptop is the right choice for the above reason only... if it were not for the above reason, I would say it's overpowered and excessive, but for your reasoning alone it is perfect.
You have two sensible choices IMO If you buy a new MBP, consider the one I linked as the only viable version of a new Apple laptop. They are costly; buying into models with known faults is not worth it. Your alternative is a refurbished MacBook, so the last decent model before the new 16" was the 2015 model 15" (www.hoxtonmacs.co.uk/products/macbook-pro-retina-15-inch-quad-core-i7-2-2ghz-mid-2015) they are still powerful machines Quad-Core Intel Core i7, 16gb ram, blazingly fast SSD and retina screens.
If you get the new one, apple let you customise the ram, storage, processor. Don't go crazy thinking more is better; these upgrades are for professional use. If I were doing this I would go for the 1tb version with the £90 gfx card upgrade; it would be helpful for photo editing... maybe a 2tb storage upgrade but honestly typing that makes me grimace buy an external SSD or an iCloud subscription instead.
You can run Windows on a Mac and the reason I suggest the 1tb version over the 512gb model; you cant share storage between windows and mac. You dedicate a portion to windows and the rest for mac but not share or change the allocation later without reinstalling windows. It sounds complicated but to use is easy, you press and hold the option key when you power it on and select mac or windows.
Apple made something called BootCamp it is pre-installed with macOS to handle the installation, they have a step by step guide (support.apple.com/en-gb/HT201468) follow that, and you will have both macOS and windows. you can buy Windows 10 licence keys on eBay for £2, they get delivered instantly and activate with Microsoft just fine.
Well, I hope that helps you make an informed choice :)