r/AskComputerScience • • 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?

32 Upvotes

7 comments sorted by

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?

1

u/[deleted] Dec 14 '19

Sorry to hijack this comment - do you have a preference on hacker rank vs leet code? I haven’t started grinding questions yet and wanted some perspective

2

u/TheDuckGoesQuark Dec 14 '19

I don't use either tbh, personally to keep myself fresh I subscribed to dailycodingchallenges email list, and then use geeksforgeeks or similar sites to verify my answers after.

It worked pretty well when I was hunting for a grad job, and I'm pretty sure dailycodingchallenge sources it's questions from hackerrank etc.

2

u/[deleted] Dec 14 '19

I tried leet code and I guess I haven’t mastered the platform yet; I’ll build a working answer locally then paste it over to run on a test case. Usually I’m wrong but there’s no detailed explanation why. I think doing daily code challenges might be a better approach for me, too.

2

u/[deleted] 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

u/[deleted] 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?