r/programmingquestions • u/edg73018 • Jul 22 '20
Basic Question from a Dummy
Hi! I have a couple really basic questions which obviously come from someone with no programming knowledge.
- Is there a conceivable way that the code from two different programs could become jumbled together?
- If so, how might this happen?
- Would it be possible for a programmer to go back in and identify which pieces of code came from which original program?
2
Upvotes
View all comments
Show parent comment
2
u/[deleted] Jul 23 '20
Well, if you are telling a story, then you have some room to play with. You could try to tell, that in the attempt of the ship rescuing itself (systems are able to predict electric shortages or realise when somethings wrong) the system tried to save itself and then, before it could finish overwriting programs or change config files, it just... died or whatever. So, you would have a unfinished process. The process of a self rescue stopped in between. This is the worst case scenario in a windows update during an update.
So: during a shortage/overload the system, for example, tried to backup data or change configurations but couldn't finish doing that because of something unexpected. This is really vague, but i think you need to do some research on why you shouldn't power off your PC during an update. I'm just not on the level of giving you 100% perfect answer.