Code instructor here !
I would recommand you to start with python !
But the easiest method to learn code is to learn by doing a project you would like to create.
So it can be :
a little device that listen to wifi in manager mode using a pi and python
a mod for gary's mod using lua
a chat bot twitter coded in nodeJS that is RT all the game
a price listener for your favorite shop that only to limited edition stuff...
Find so project and just do it. And when you got question, google it or ask stackoverflow !
Have fun ! Don't learn just to learn. learn to create !