I'd say for both. It's very easy to get *something* working, and has a lot of scope for more complex stuff. I made a really basic (har har) alarm clock once in petit computer with probably less than ten lines of code, and no funny tricks. I was pleased.