DEV Community

Brittany
Brittany

Posted on

1 1

Day 47 : #100DaysofCode - How do you code?

Today I worked on labs for my coding bootcamp. I am learning about layouts and partial forms, and thought of question that I wanted to ask the coding community.

How do you code? Do you code everything and then refactor? Do you refactor as you go? Do you code piece by piece and refactor each piece in large pieces on the way? Do you code, wait for an error, then rectify that error? Do you code and then ask for a second or third party for their advice on how to refactor or make your code better?

I ask because I am learning but can not say that I know ALL of the best practices with code. So there are times I may code something and then later on realize, "hey, I should have used a partial form here" or "hey, I should replace this instance variable with an object." Of course I add it as I learn but for future references, (and for you with jobs already), I would love to know what is the best way to code.

Any help and advice is helpful.

As always, thank you for reading!

Sincerely,
Brittany

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay