As an experienced professional, I'm sure anyone can agree that similar function sometimes dictates similar structure in the code.
As a CS student I see a lot of this. Often times after an assignment has been turned in the students in the class get together to compare their code. All to often 9 out of the 10 of us there will have almost identical code despite the fact we never saw each others code during development. For us it is a inevitable consequence of being given the same assignment after being tought to solve problems the same way by the same proffessor. I mean there are only so many ways to make a for loop.
As an experienced professional, I'm sure anyone can agree that similar function sometimes dictates similar structure in the code.
As a CS student I see a lot of this. Often times after an assignment has been turned in the students in the class get together to compare their code. All to often 9 out of the 10 of us there will have almost identical code despite the fact we never saw each others code during development. For us it is a inevitable consequence of being given the same assignment after being tought to solve problems the same way by the same proffessor. I mean there are only so many ways to make a for loop.
actually i'd be surprised if the match were all that close.
Oh I don't know. I hear there is like a 50-60% corospondence between human and bacterial DNA.