🔴 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


















