How did you learn programming the Arduino?

I wouldn't say php... php always strikes me as similar to xml (but I use both for only basic things, and usually only read the code, not write it myself), but for one reason or another, arduino-code reminds me of my first language - actionscript.