Avoiding arrogant pronouncements about people with experience may help too
Quite true - experience can be of great value, but only when it is the right experience. Adolf had a lot of experience of running Germany by 1945.
In terms of ageing coders, the useful experience is decades of thinking, analysing, checking and testing, testing, testing - the procedures and processes for successful software development. Sod the precise coding language, I've used dozens, - the principles are the same for a phone App, a website or a COBOL payroll system.