I started to learn to code Torque a couple of years ago, as rggbnnnnn said in their earlier reply, by unzipping addons that have already been made and just take a look at the source code.
Add-Ons that are Script (add-ons) are quite useful to look at for beginners (Script_....), it does what it says in the name, they carry out server-side stuff and will help you understand the concept of functions and what they do.
Bricks and items are probably the most difficult to make purely because you will need to model and animate.
Send me a PM if you need any help, but rggbnnnnn has given you some great guides.
All the best,
BI0.