r/AskComputerScience • u/imthinker • Dec 14 '19
How to improve coding skills while working as a backend developer
Generally, in my 1-year job experience, it's just the same thing I’m doing again and again or modifying others' code. I do realize that my coding skill hasn't improved and I don't know so many techniques or skillful things I should know after doing a job for 1 year as a backend developer. So, how can I improve my coding and problem-solving skill which is very required in developing?
2
Dec 14 '19
Modifying others' code is not a bad thing. You can see what others do well or (more often) what they screwed up. To improve your coding skills, don't hesitate not to just fix issues, but try to do refactorings, use patterns, improve test coverage, etc. Btw, what things do you mean, that you are doing again and again? It sounds like things that should be automatized by software. You can try to implement it or find tools that support such processes as well as talk to your manager about this.
2
Dec 15 '19
Others have commented that studying and reading others code is a skill you can develop. There is merit to their comments - and I concur.
However, I also realise that it’s not helpful if no one is around to improve the code with you (all the more “senior” folks are writing the new widgets). I would encourage you to look at how to implement the same thing via test driven development, because typical shops that do that ritual don’t have good tests (there may be some, but quality bit might not be).
Write tests capturing current functionality. Then write the test which captures the desired change. When red, modify the system.
Cool thing - it’s a metric which people love to hear about, especially managers. Soon they will want you to code the new widgets because if defects and rework goes down, they need to keep you busy, and on the forefront. It makes good business sense.
1
u/jeffbell Dec 15 '19
Can you write a script to find the cases that need to change?
Can you automate the change?
If it's the same code repeating can you refactor every case into a shared routine?
Have you done any profiling or performance measurements?
8
u/TheDuckGoesQuark Dec 14 '19
Do you mean you want to do more hackerrank style algorithmic problems? Or do you want to learn a new technology? "improve my coding skill" is pretty vague.
As an aside, it doesn't sound like this backend work is engaging you that much. Maybe it would be worth looking into other teams where you work to see if their projects are more engaging?