News for hackers. Stuff that matters.
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by codr4life on Friday December 09, 2016 @05:50PM (#13142560)
Write more code. Learn different languages. Reinvent wheels. Stop following the herd. Most of the people who's code you're admiring have been blazing their own trails for decades. There are no short cuts to experience. Good luck!
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by sitkack on Friday December 09, 2016 @08:10PM (#13143364)
This is not the answer. Write code with careful attention. The OP has written at least 30kloc, this is more than enough.
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by codr4life on Saturday December 10, 2016 @03:40AM (#13144741)
I don't agree, lines of code has nothing to do with experience level. Hitting your head against the wall trying to solve new kinds of problems is where the gold is. And that takes time, and courage.
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by sitkack on Saturday December 10, 2016 @02:03PM (#13147257)
We agree generally. The OP doesn't need to code more, they need to think more deeply, with more purpose. They probably should actually write less code.
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by Ronin354 on Saturday December 10, 2016 @05:30PM (#13148293)
This definitely sounds right. But is this from your experience ?
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by sitkack on Sunday December 11, 2016 @11:40AM (#13151808)
It is from experience. When I was a junior programmer, I overly focused on the end goal, coding until "things worked". Projects got finished, but the internals had cruft and parts were poorly understood. I was not mastering anything. Now I do more thinking, parts that are poorly understood are mapped out with unit and integration tests. Those tests are just little scientific confirmations of how universe of the application works.
Re:Ask HN: Maybe I kind of suck as a programmer – how do I s... by ProAm on Friday December 09, 2016 @05:52PM (#13142576)
Exactly. More time in the saddle. Fix your race conditions (just an easy one from the OP's post) and you'll learn more and next time it will be easier.