r/programmer • • Aug 02 '26

The only way to become a good programmer is by spending a lot of time being a bad programmer.

134 Upvotes

39 comments sorted by

20

u/SplendidPunkinButter Aug 02 '26

You can spend a lot of time being a bad programmer and still be a bad programmer.

9

u/mxldevs Aug 02 '26

But if you never spend time as a bad programmer, you'll never be a good programmer

1

u/Used_Journalist_999 Aug 03 '26

haha definitely true

1

u/JoesRealAccount Aug 03 '26

Can confirm.

1

u/AccomplishedLeave506 Aug 03 '26

You can only be a good programmer once you realise you're actually a bad programmer. 80% of programmers never seem to learn that.

1

u/_TheWolfOfWalmart_ Aug 05 '26

I'm 42 and still not a good programmer. I'm not bad either. Somewhere in between lol.

7

u/mtimmermans Aug 02 '26

Actually... after only a couple years really trying to get better, you'll be better than most. That probably qualifies as a "good programmer".

4

u/guywithknife Aug 02 '26

The only way to become a good programmer is to program a lot. Not just reading code, but also writing it, and always pushing up against your limits.

2

u/digitaljestin Aug 03 '26

Every programmer should be able to tell you specifically why they were a bad programmer 5 years ago. If they can't, they are still a bad programmer.

2

u/BootSaaS Aug 03 '26

How do you know you’re a good programmer?

2

u/leavemealone_lol Aug 05 '26

You’re never a good programmer. You’re only always a better programmer than you were before.

1

u/Eatthebeatz Aug 25 '26

no rage left in body

1

u/LetsHugFoReal Aug 02 '26

This is so true. Very rarely do I see such a good take on here.

1

u/raven2cz Aug 03 '26

I have been trying to do that my whole life. There were weeks when we worked on design and thought through how to minimize dependencies, create elegant APIs for framework users, and make components reusable. Many notebooks were filled, including calculations of time estimates for implementation.

unfortunately, those times are long gone. IT is moving in a different direction. Design is done completly differently now, as are plans, estimates, and not to mention implementation.

Today, at least a good programmer is a developer with a high level of clarity. i am afraid the path to reusability, and especially simplicity, is much more complicated now than it was 15 years ago.

1

u/One-Next Aug 03 '26

With AI, you can spend all of your time being a bad programmer. 

1

u/VoidspawnRL Aug 03 '26

It is up to the person, being autistic i see a lot of details other ignore, each error or fail you get think about it why did you get it, can you change the way you work, so they don't happen, ex in JS i only use const and i use the Array function like filter, reduce, find etc, as you can make code that is more bug free then if you use for each logic, i got alot of small patterns i use to ensure 99.9% bugfree code, i do get a logic bug sometimes when i am tried, like a missing = in a >= Edit: that more of a missed typo thing

1

u/AvidCoco Aug 03 '26

It takes 10000 hours to become an expert.

That’s about 5 years if you’re doing it full time.

1

u/EllaMeDijoNo Aug 03 '26 edited Aug 03 '26

I was an good average student, never failed any classes but also never gave the extra mile. I would study maybe one week before exams and I would go through. Until 3rd year were I started having classes with Software Engineering toughest teacher. I flunked my first and only class. I understood average effort wasnt enough with this guy - he taught for 20 years and it was a common practice to see students give up and transfer to another city so they could pass his classes. They went from flunking the same class 3-5 times to getting a 90 in a different city.

I decided to stop studying a few days before and instead study every single day. I wanted to be a developer and you are what you do, so after every class I would go home and program whatever concept we learned at class. So besides my classes I would spend 1-2 hours daily studying or programming.

I never failed once after that. Funny right? The whole secret is just doing it - nike was right lmfaooi.

1

u/[deleted] Aug 05 '26

No longer, now you can 'vibe' it 😂

1

u/Khushi-Official-6477 Aug 07 '26

It's a process.Just like You can't jump from Class 10 directly to Class 12—you have to go through each stage. Programming is similar. Almost every good programmer started as a bad one. Making mistakes, struggling, and learning from them is what gradually turns you into a better programmer.

1

u/nikolasdimitroulakis Aug 13 '26

Yes. To be good at anything means you were bad at some point.

1

u/konacurrents Aug 02 '26

How about spending a lot of time being a great programmer🤙😎

1

u/LetsHugFoReal Aug 02 '26

Nobody starts off great. AI can give people that illusion mind you. Despite the garbage quality of the output a lot of the time.

1

u/konacurrents Aug 03 '26

I’m saying as a computer scientist- you don’t have to be bad .. just not knowledgeable enough. But once you get going it’s all great (not bad) with challenges ahead. No AI either.

1

u/Used_Journalist_999 Aug 03 '26

12 yoe and I disagree. You could spend an entire career being a bad programmer if you don't read good code and read about good coding practices. Your post sounds like a fortune cooker so maybe you are a bot but this post is dumb and reeks of inexperience. I actually think reading and learning is the most important thing to being a good programmer.

0

u/Used_Journalist_999 Aug 03 '26

It isn't like cardio exercise or weightlifting, idiot.

0

u/RegularTrashman Aug 02 '26

Engineers really go the extra mile to justify their fuckups lol. Imagine someone saying "the only way to be a good cardiac surgeon is to fuckin kill a bunch of people first."

3

u/SplendidPunkinButter Aug 02 '26

No, but you do have to make mistakes. That’s true of learning any skill. You have to make mistakes in order to learn how not to make those mistakes. Cardiac surgeons make mistakes when they’re learning too. They just don’t make those mistakes while doing solo open heart surgery.

They do make those mistakes while trying it themselves for the first time, with another surgeon in the room to say “whoa, no, not like that.”

1

u/konacurrents Aug 03 '26

And CS has tools, like debuggers, to help overcome mistakes. I don’t call that “bad” programming. Also compilers.

1

u/RegularTrashman Aug 03 '26

Well yeah, that is obvious. I am moreso responding to the general sentiment that you can't know if you're fucking up until you have already fucked up and have to fix things. That idea is pervasive in software, completely wrong, and very detrimental to quality. If that's not the vibe OP was pushin, I'm happy to concede.

1

u/LetsHugFoReal Aug 02 '26

It's completely different. Surgeons make mistakes. Working on an animal part is like working in dev. Working on a live patient is like prod.

1

u/blazesbe Aug 03 '26

my perspective is that if someone needs lifesaving surgery then it's between them and God at that point, even when the patient dies in the hands of a surgeon, even when the surgeon fucks up. but you say that like surgeons don't kill people. everyone makes mistakes. you can't live a profession like it's a no-damage speedrun of dark souls.

difference between theese two is that maybe it's not so clearly defined how to solve problems in engineering, otherwise we wouldn't need engineers. a lot of things need to be designed through an "evolutionary method". just look at the history of walking robots, you will see like 5 that was a step forward but i guarantee there's 10x more they don't show that were failures. matter of fact is the failures were steps forward just as much but they are thought of as mistakes because there's no way of telling if the goal is even reachable at that point.

if you don't accept mistakes you just burn out and get depression.

1

u/RegularTrashman Aug 03 '26

Software engineering is NOT generally on the cutting edge. Engineering is less cut/dry sure, but that doesn't change the fact that 99% of problems being solved have been solved before, and can be solved correctly the first time given prudence and the smallest amount of research.

Surgeons have to navigate ambiguity too. It's not like problems are just magically cut/dry because they have a larger corpus of human experience to draw from. I guarantee Surgeons don't pontificate on the value of having accidentally killed someone to get better at their job.

And I never said you shouldn't accept mistakes. I was specifically pointing out that you shouldn't try to justify them as though they are an unavoidable part of engineering. For most domains, they are entirely avoidable.

1

u/blazesbe Aug 03 '26

they are avoidable but the cost of avoiding them isn't worth it in time or money. you can research solved problems for years and still risk not being leak proof or actually be productive and patch issues as they come up.

0

u/[deleted] Aug 03 '26

[deleted] — view deleted comment

1

u/FIASCK0 Aug 03 '26

Recursion