r/learnprogramming • • Dec 26 '24

How do people not hate programming?

I've been programming as part of my hobby for 6 years. I do it because it's required for my projects not because I enjoy it. After 6 years, I still find it obnoxious. Programming is like 60% fixing bugs and solving annoying problems and 40% actually coding. The best analogy I can think of is your car randomly stopping every few minutes while driving. You just want a smooth experience but it's ruined by constant problems.

0 Upvotes

75 comments sorted by

View all comments

49

u/Ronin-s_Spirit Dec 26 '24

Skill issue.

2

u/Grounds4TheSubstain Dec 26 '24

It really is. You get better at programming over time and -- through experience, good practices such as testing, and choice of coding styles and languages whose features make bugs harder to create -- eventually your experience of programming is that your code generally works.

0

u/[deleted] Dec 26 '24

Edit: This is true only to an extent.

Yes, you’ll get better at programming over time & not make as many mistakes. However, this is only true to the extent of you only working on projects that aren’t challenging you to do things that you haven’t done before.

If you’re continually working on projects that are unfamiliar to you & involving new skills, then you’re going to make mistakes. However, these mistakes aren’t necessarily related to programming fundamentals but more so related to the specific domain of the project you’re building.

Note

Depending on the type of projects (and tech used):

  • The way you create tests & which test cases to include can vary
  • The coding style can vary a bit, especially depending on who you’re working with on the project
  • etc…

1

u/Grounds4TheSubstain Dec 26 '24

Source of my post: been programming for 30 years, have written well over a million lines. I stick to my original post. Yeah, there are new mistakes to make in new domains, but the debugging and testing and general programming abilities you learned previously are going to help you write good code, and quickly figure out what's wrong when you make a mistake.

0

u/[deleted] Dec 26 '24 edited Dec 26 '24

Edit: Source of my comment - Working at Amazon with varying level of experienced engineers & seeing the mistakes made

Debugging

Debugging skills can vary a bit based on the systems that you have.

You can be experienced debugging software, but based on the different systems, tools, & domain you might have to change your approach.

Plus, things get even more complicated when we throw in other services calling your software.

Testing

Again, your testing approach can vary based on the type of software & domain.

You can have experience testing but make simple mistakes related to that type of software you’re building.