Trail and error is a pain, but it's a brilliant way to learn. You do something, you get an IE... so you play around with it until you don't get an IE.
At least, that's how I work.
Of course, I've been modding for a little while now, so I can generally tell when something isn't going to work properly.