Why many Software Developers are afraid of Others’ code?

Why many Software Developers are afraid of Others’ code?


Have you wondered why one of the biggest fear that many of the software developer have is to modify somebody else code To extend somebody else code and to the worst is to fix defect into somebody else’s Code Well this story covers the answer In the last story we saw how Cody realized one of the biggest secret of software development and that is? Given a software code, How do we identify whether it’s good or bad, so Once Cody realize the secret he wanted to verify it So he talked to max his friend and asked for a code as a reference So once Cody looked at the code. He found out that code was not so good But then came the difficult part how to inform max that his code is not so good You know how difficult that is? Maybe you can try this trick Try telling any developer that his or her code is not so good It’s an amazing conversation to have but eventually Cody did talk to max and explained him that his Code is not so good and as expected Max was not convinced Max argued that the code has been working good for some time although with some defects, but it’s working So how can you say that it is not so good? But then Cody shared his learnings his experience and his realization and The rationals that we saw in the last story and explained him why the code is not so good Upon realizing that max was shocked and surprised to see How his Code is perceived so differently by other developers as in Cody? All the time he was thinking that he is really good software code developer But this new enlightenment It helped him not only understand the importance of other developers view, but also helped him realize another secret of software development and that is Why many of the software developers are afraid of other code? he realized that in the collaboration Many developers come together and work at the same time in the project on the same component or different component and then Max realize that if Cody as the other developer has difficulty in understanding his code How would he be able to modify it? It’s difficult, right So imagine the complexity it would trigger when many developers work together modify each other code Which are difficult to understand by others? How would the other developers when they see the code They will be able to adjust with that It’s very difficult, and that is why most of the developers stay away from others code Because others code is not written in a way So that it can be understandable in the one go This is reason no. 1 and now the biggest reason as max realized and shared with Cody hey, Cody, you know as A developers me and you would move on From one function to another function from one file to another file from one component to another component From one project to another project and on the worst From one company to another company but our code No matter, how small or big contribution is stays then and there? We might forget about our code, but our code does not It remains with the product all the time, and it’s used by the customers all the time So as the product evolve over a period of time what we see as a code Is the contribution of many developers over over a long time So imagine a situation where a new developer? joins such product in between development What the new developer is seeing is an output of many developers combined and So for a new developer to understand what’s going on It’s going to take a tremendous amount of time and then on top of it to fix some defects inside that So it’s like a walking into unknown territory Not going what lies ahead and that is why the new developer would prefer to work Something on his own or her own Where they know the territory rather than touching others code, which might? Break something that the new developer is not aware about because the code That is an output of many developers is not written in a way that the new developer is going to understand that And so finally in a nutshell Max realized that if he wants to write a good code Or if he wants others to understand his code Then he should be able to write a good code. Not only for himself, but for others also As he realized Beauty lies in the eyes of beholder as you all know but in our case Beauty of a good code lies with the eyes of other developers And then came the big question that Cody was completely unprepared for Max said Hey Cody, now that you know that my code was not so good Can you show me how to write a good Code? And Cody felt as if he has invited trouble for himself because identifying , whether a given code is good or bad is one part of the puzzle but writing a code Which is good for not only for yourself but for other developers like you is all together a new puzzle and Cody is right now staring at it and searching for the answer so if you have the answer Please share and help Cody Max and his friends, and if you have any other questions suggestions improvements or comments then also, please share Because together we all can learn and make some really good software This is Devendra Banker signing off and keep listening to your code or others code Because every Code has a story to tell thank you so much

Leave a Reply

Your email address will not be published. Required fields are marked *