#The Dirty concept
Codes, codes in general, have to be perfect, to respect rules and structures in order to properly work. But the majority of the codes can work even if they are badly written, if they are dirty.
##Lazy, you said lazy ? If it works, it works no matter how. Time is precious, don't waste it when you want to prototype something. Just write it. You don't need to write perfect codes to see an experiment or a live test. You just need to know some basics. If you are able to write a simple alert(foo) so you can write dirty codes. ##Advantages ? The only advantage I can see, is to make something work as fast as you can, no matter how.