TheRightLane on Coding

Writing the right code

September 24, 2017

I'm going to be straight with you. Most of the code you write is garbage and should never have been written!

Controversial? Mean?

Yes!

Good, maybe it will make you change how you code.

What am I doing wrong?

The main culprit is over thinking. If you've never competed in a game jam or hackathon, you need to. If you have, remember how much you were able to get accomplished?

But the code was hacky!

Hacky is not the same as wrong. Poorly styled code that gets the job done is no sin. Plus, a feature that is written is infinitely better than one that isn't.

Maintainability!

Maintainability is a myth. Any project of reasonable size is difficult to maintain. It doesn't matter if you follow the code style guidelines perfectly. There is a certain level of complexity after which you will no longer be able to understand the code without background in the project or a substantial amount of time spent in the code.

What should I change?

Don't use Google or Stack Overflow.

WHA?

That's right. You fail to produce because no one ever taught you how. Easy access to code snippets has ruined your ability to produce meaningful code at a decent rate.

But I don't know how to do it!

I bet you do. If you turn off your internet access and actually sit and write you will be surprised, after a few minutes your memory will kick in and you will start to produce.

Just try it!

Lane Thompson