I don't really want to go in depth into programming, I just want to know what I'm looking at if I ever come across anything like that at my job (mechanical engineering) and maybe solve some simple problems.
I learned C and Java in my first year in college, but it's all mostly forgotten. I'm leaning towards Python since I read it's relatively simple and used a lot nowadays, and it's what my teachers used later on in college anyway.
For mechanical engineering, any thing computer or programming related will be
Python and C/C++
knowing your way around MATLAB.
and maybe possibly Ladder-Logic or Function Block. (PLC's and the like)
All depends on what engineering you end up doing. But Python is a good place to start.
That's good to know, thanks!