Ask HN: Is my code any good?
1–10 of 44 posts
Re: Ask HN: Is my code any good?
#2For these reasons, I recommend complementing internet-based code review by measurement: Use (automated) testing in multiple forms, unit, integration, randomised. Count the number of bugs you encounter. Classify the bugs you find, track how the numbers and classes of bugs in your code evolve over time. Compare those statistics with other coders. This not only gives you ideas about your relative coding ability, but will also reveal areas where you could try and improve your abilites.
Re: Ask HN: Is my code any good?
#3I'm not a Swift or iOS developer really, so I don't know how those projects are supposed to be organized, but I glanced through your repo and I can see that you seem to be pretty good at breaking things up into small functions and stuff seems readable and well formatted enough to me. Good luck!
Re: Ask HN: Is my code any good?
#4It's useful to get human feedback on one's code, but human attention is scarce, and human judgement is influenced by many non-technical factors (e.g. mood, politeness or hostility) that do not derive directly from code quality. For these reasons, I recommend complementing internet-based code review by measurement: Use (automated) testing in multiple forms, unit, integration, randomised. Count the number of bugs you e…
Re: Ask HN: Is my code any good?
#5Congratulations on shipping your code! I'm not a Swift or iOS developer really, so I don't know how those projects are supposed to be organized, but I glanced through your repo and I can see that you seem to be pretty good at breaking things up into small functions and stuff seems readable and well formatted enough to me. Good luck!
Re: Ask HN: Is my code any good?
#6Re: Ask HN: Is my code any good?
#7Looks pretty good to me. Congrats on launching an app!
Re: Ask HN: Is my code any good?
#8Good job.
Regarding the code quality - from my experience you'll be able to also see for yourself if the code is well written when you'll want to change something in the app(e.g. in the next update) and see how easy (or not) it is to do so.
Also my advice will be to take a look at other open source projects and try to see how others have done the same things - what was their approach and how is this different from what you would do in a similar scenario.
Re: Ask HN: Is my code any good?
#9Don't know much Swift - but I just wanted to say congrats on shipping something and also for the app - it looks really nice. Good job. Regarding the code quality - from my experience you'll be able to also see for yourself if the code is well written when you'll want to change something in the app(e.g. in the next update) and see how easy (or not) it is to do so. Also my advice will be to take a look at other open so…
Re: Ask HN: Is my code any good?
#10It's useful to get human feedback on one's code, but human attention is scarce, and human judgement is influenced by many non-technical factors (e.g. mood, politeness or hostility) that do not derive directly from code quality. For these reasons, I recommend complementing internet-based code review by measurement: Use (automated) testing in multiple forms, unit, integration, randomised. Count the number of bugs you e…
I wanted to get some feedback on my code design and structure. I think that is difficult to get via automated code review.
Anyway, in my experience, the ability to test with ease is one dimenision of design quality.