Tell HN: I recommend others to code at least 4 hours a day uninterrupted

3 points by shahzaibmushtaq ↗ HN
Deep work without distractions can meet deadlines and milestones, and coding requires that too.

What do you recommend?

5 comments

[ 3.9 ms ] story [ 23.3 ms ] thread
A reasonable advice, and applies to writing too. But I'd say the 8 hour maximum postulated by agile still deserves a contemplation, especially in a start-up context -- or have things changed?
Thank you.

You are right and the advise you gave is still applicable today as nothing has changed except AI.

My biggest recommendation: Stop being afraid.

Stop using frameworks and unnecessary abstractions. Learn how things really work and learn to organize your own code. You will end up happier, lower maintenance headaches, and have a smaller and faster product.

I often hear I’m not afraid. I just…. When people lie to themselves out loud without convincing anybody else it looks autistic.

I'm 100% sure that completing any coding task in a bad manner is the first step to overcoming what you fear.

Yes, jumping frameworks one after another and optimizing code early using programming pillars, techniques or principles is terrible.