π΄ Working with Another Personβs Code π΄ β Working as a programmer or as a developer, you might have to work on code written by another developer. This situation will make you so confused. β The programmer who originally wrote the code might not be working there anymore. Or if he is still at your workplace, he might be too busy to answer any questions you have. β Or in a worst-case scenario, there might be office politics. For example, maybe your colleagues had trouble getting along with the previous programmer and might be reluctant to help you figure out their code. β πΉοΈRealize that itβs your code now: Fixing this issue means changing your attitude about it. If someone left the code to you, itβs not their code anymore. Itβs yours now. Taking responsibility from the beginning will take the edge off the task. β πΉοΈSpend more time reading code: Spend some time understanding how the other developer worked, both their approach and style. You will have an easier time adapting to the code once you have done that. β πΉοΈRefactoring: Another way to approach a code base is to code your way to understanding, by refactoring the code. I really recommend that you consider the actual refactoring as βthrow-awayβ. Itβs hard not to become attached to oneβs refactoring, but I implore you to try. β β
The most important tip is βDon't despair!β, I know it seems a mess but, yes, be positive you can learn new things and acquire new skills from others code. β
β #codingmoments #codingblog #developerslife #developerdiaries #technologysolutions #codinggirl #programmer #programming #technology #coding #programmergirl #programmerlife #software #softwarearchitecture #refactoring #design #softwaredevelopers #softwarefollower #javadeveloper #python #pythondeveloper #codingproblems #programmerproblems #softwarearchitecture #codingpics #mycleancode https://www.instagram.com/p/CANHvc4A-gZ/?igshid=gsm1kjxsk7ce