Good coders code, great coders reuse.
Never re-invent the wheel, if you already have a function that does something previously, use that function. Don't re-write. In all my work at uni I've re-used code from one assignment or another. And since it's my own work, it's not cheating. In fact I remember from one assignment I re-used code from an assignment that was done prior to even starting uni.
I re-use code in my commercial work as well. As well as other freely available code. If it's there to use, use it. The reasons being, you don't have to write the code, but also because it's another person's implementation very likely it's already been tested many times, has it's bugs ironed out and has been proven to work (and thereby saving you programming and debugging frustration).
Are you a good coder, or a great coder?
No comments:
Post a Comment