tgsuperspec:
The IDE for arduino actually makes for lazy programmers and in some cases very poor code...
Yes. The IDE and runtime library are clearly aimed at novices and make it very easy to implement 'hello world' applications but do not support or encourage good programming practices. Partially I'm sure that's because it was deliberately aiming to dumb the development process down for novices, but in my opinion that only accounts for some of the mistakes in Arduino. In my opinion it ends up confusing novices and teaching them bad habits, which is unfortunate.