system
Given the following post, respond as if you're commenting on Reddit:
human
Working with less experienced people who think they know more

Title says it.  How do you deal with it?  I have a colleague who has a background in a field that shares some of the basics as mine. Him comp sci, me robotics and ee.  He hasn't been working in comp sci for like 15 years, and has been a network admin mostly.  Recently he switched over to helping out on some robotics related stuff.  He knows what he is doing when it comes to programming, but not when it comes to robotics and ee and some more advanced concepts.  

The issue comes with how things get done.  He will want to do something in X manner, which is either the easiest, fastest, or method that he used when he went to school (20 years ago).  I want to do things in the manner that will work best.  I don't necessarily need to do it my way all the time, but everything, even little stuff, has to be a huge discussion and he basically has an excuse for every answer I give, and if I don't have an immediate response then I am "obviously wrong."

He made a comment last week that I have "bad logic when it comes to" the work I've been doing, which I have 13 years practical experience and a PhD in.  He made this assumption after 5 minutes of working on the project.  Wanted to punch him.  

I've also noticed similar behavior in some of the other older guys at the institute.  "I've been making cars for 15 years with techniques from the 80s so I am certain a know how to build this boat" type of mentality.  

How do you deal with these people and what do you say to them?  Asking for help so I don't resort to expletives at work.
gpt
I don’t think this is an academic question but a human one. This guy is riling you despite your recognition that his opinion isn’t well-informed. Why is that so? 

I would reflect on what you want to get out of your interactions, how much positivity you want to actively introduce into the world. You don’t need to take the task of tearing down egos upon your shoulders but if you do, do so carefully and with the intention of helping the other person improve...

If their incompetence is impeding your work that is a conversation you can have, but keep your focus on the effect it has on you rather than casting too many aspersions on the other person. If it’s not affecting your work but is just niggling you then this is a genuinely great opportunity to work on your peace of mind and to practice not being riled by others.

This could be a lot of fun!

(Edited for typos)