Follow

Best advice I can give to new programers:

* Dont be scared to write it wrong, you can always rewrite it.

When I code i expect to rewrite it.. i usually write a shitty version of the idea just to make sure the idea works then i rework it several times and consider the overall design before commiting. If yuo try to do it right the first time through you wont do anythijng at all, or you will come up with a perfect idea that the second you start to implement you realize doesnt work at all... doing it wrong is how you learn to do it right.

· · 3 · 9 · 8
That is how I used to do it. These days I tend to make a drawing of what I want to build, start great and half way through it I throw away the drawing or have to alter it a lot :-) I do tend to reuse code when I know exactly what it does

@freemo Writing code is absolutely all about successive drafts. Even working code is usually not the last draft, I almost always redraft what I’ve done to make it clear to whoever will be reading it what’s going/what the important parts are

@rlamacraft I rewrite code 3x - 5x at least and if its a living project then its continual many times.

@freemo I once worked on a project where we reserved the right to break anything that didn’t have a unit test. There were many downsides to this, but the massive plus is that we could easily rewrite stuff on a whim, and boy did we do a lot of that

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.