The design of a language/environment can sometimes exacerbate this particular developer problem. Because so much of the power of Smalltalk lay in its powerful debugging, weird proxy stuff had a potent impact.
Some languages make it easy to shoot yourself in the foot with nifty. I found Perl and Scala to be in that camp.
Some languages have footguns and constructs that are error prone.