You have to solve the problem first

I have a piece of actionable advice for all the devs out there.

If you have to write a block of code, that should solve a particular problem, do write the simplest, dumbest, most trivial version of that code.

With hardcoded values, nested ifs, a lot of copy-pasting, with everything that you've heard is a "bad practice".

Start with a beginner's mind. Start simple. Eliminate all the burden of thinking about how this piece of code should fit in the grand scheme of your project. Or how a senior dev (like you are, I'm sure) should write beautiful, extensible, and flexible code.

Forget all that bullshit and focus on being useful for your company/team/yourself.

Just solve that problem.

Comments

Popular posts from this blog

Meetolog: the beginning