I started when I was 25.. Studied for 3 1/2 years and have now worked for Cisco for 4 years.
Its never too late. Never let anyone push you down like that. Its just them showing their insecurities. Don't let it affect you. If programming is a passion for you you'll get good at it, just give it time