This is one of the biggest things I'm grateful my mentor drilled into me: Never make a quick and dirty solution that anyone else (especially management!) sees -- it will become the final solution.
So guess what, you will probably learn next that quick and dirty is an amazing thing. Sometimes the morbid, buggy stuff is exactly what's needed and a well designed solution wouldn't scale to it's task or wouldn't be used because it's so clean.