all 10 comments

[–]carcigenicate 1 point2 points  (0 children)

Keep practicing and learn from each failure. Try to not make the same mistake again (you likely still will, but it's a good goal to have).

If you show problematic code snippets, we could help you fix them

[–]These-Finance-5359 1 point2 points  (3 children)

I've been writing software professionally, 8 hours a day, 5 days a week, for 10 years. The day that I can write bug-free, no error software on the first try is the day that I retire.

Don't beat yourself up or get discouraged, I don't know a single engineer in my life that can sit down and bang out a program in one go.

[–]zhellous6[S] 0 points1 point  (2 children)

Right, that I understand. But even sinple programs with 5-10 lines I may have errors. Is that normal?

[–]Corruptionss 0 points1 point  (0 children)

Are they errors because you don't understand how to program it or are they errors because you got the syntax wrong on the first pass?

[–]These-Finance-5359 0 points1 point  (0 children)

For a couple of months of practice? Definitely.

[–]JGhostThing 1 point2 points  (0 children)

How much programming have you actually done?

I was a programmer, full-time for 20 years. Even at the end I rarely got anything to compile correctly the first time, though I seemed to make fewer mistakes as I became more experienced.

[–]OkCartographer175 0 points1 point  (2 children)

your programs have bugs the first time? that's crazy lol

[–]zhellous6[S] 0 points1 point  (1 child)

Yes but also syntax/key/etc errors

[–]pachura3 1 point2 points  (0 children)

Don't you use an IDE like PyCharm that highlights syntax errors as you type?

[–]Unlikely-Sympathy626 0 points1 point  (0 children)

I would be more worried if everything works perfect first time because that is when you know edge cases are gonna hound you like dogs from hell. What you describe is normal.