flat assembler
Message board for the users of flat assembler.

Index > Heap > Do you keep all the codes you've written?

Author
Thread Post new topic Reply to topic
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
I think it's pretty common for people who work in software houses to keep all the codes they have written while working at previous companies before.

Their rationale is: reusability. You don't need to write things from zero. Just modify it to suit your need.

Some people say that this is bad. As long as you work for a company, all the codes you've written become their property. The other people say as long as it's not prohibited by the contract, then it's fine.

I keep all of my works, not because I'm going to rebrand it, but for snippet reference. Things like custom GUI component, HTTP service, are very common, and I don't feel to rewrite it again and again.

Honestly I'm still not clear how to deal with this problem. Maybe it is governed by local law, or a certain company ethics?
Post 07 Sep 2012, 13:30
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
No, not all codes but the most of them. Some pieces of code seem to me too obsolete or naive, so I remove them from the electronic devices and even burn the physical printouts of the listings in my oven.

The fact is that we can't be slaves of what we did in the past, some programming habits may be wrong and harmful for our inventiveness. Mother Nature in her infinite wisdom also doesn't allow us to remember everything. Mechanism of forgetting is a natural and healthy way to stay creative. Wink
Post 07 Sep 2012, 13:50
View user's profile Send private message Visit poster's website Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
MHajduk wrote:

The fact is that we can't be slaves of what we did in the past, some programming habits may be wrong and harmful for our inventiveness.


I think you're right. Sometimes I prefer to rewrite instead of merely copy-pasting. When I rewrite, I think how to design my code in better way.
Post 07 Sep 2012, 14:02
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.