Most barrowed code I get from other programers have atleast a bug or two. It helps to look at other programers' code though but just see their mistakes as a chance to blend thier style with your to create a masterpiece. Then print out the code so you can look at it later to study or make it work twice as cool as it already does.