My penny-worth.
Bikes wear out, not with miles but abuse and weather. I wouldn't touch a 10 year old BMW, the same way I wouldn't touch a 10 year old Jap 4.
I've had many bikes over the last (nearly 30 years), starting with a Tiger and ending (currently) with a Tiger. My was a Garelli and my current a Triumph 1050. Most were bought to commute on, except a Ducati which was bought to impress a girl (and succeeded as she's my wife).
Your cannot go wrong with a Jap 4, full stop. It will just work, taking incredible levels of abuse with quite minor maintenance – my zx9r which I ran to 60k would still rev to the red line and top out in excess of 170 without a worry. I commuted on this bike into central London for 3 years in all weathers, never ever let me down – although did go through some rear tyres…
I only bought the Triumph, instead of another Jap 4 to go British – and its superb. And its ABS saved me about 2 months in, cabbie shat himself though 😆
But most of all, pass your test, buy something with a mid-sized engine (600/4, 675 or small Ducati) and this time next year maybe look for something bigger.