3

I am not feeling confident when it comes to coding a new library, or service API. I copy paste from other coding snippets in the repo.

Profile picture
Mid-Level Software Engineer [62] at Microsoft2 years ago

I am not confident whenever I try to code a new library or a service. I simply copy-paste, look at other samples in the coding repo, and complete my tasks. How can I be better at coding, without copy-pasting? How can I gain confidence in this?

139
1

Discussion

(1 comment)
  • 5
    Profile picture
    Meta, Pinterest, Kosei
    2 years ago

    First, I want to call out that it's not inherently bad to copy/paste, but it sounds like you're using that as a crutch to avoid a deeper understanding of how things work. I have a few suggestions:

    1. Intentionally break things and understand how they break. Instead of calling the API in this order, can you do it in a different order? Can you explain the result of that change?

    2. Land a low-effort code change quickly. Fix a spelling error, modify a comment, or add a unit test. Doing this is a confidence boost, and this gives you some direction around how to explore + test the codebase.

Microsoft is an American technology corporation which produces computer software, consumer electronics, and personal computers. It developed the Windows line of operating systems, the Microsoft Office suite, and the Internet Explorer and Edge web browsers. Microsoft is often credited for ushering in the modern PC era.
Microsoft48 questions