Live data from Hacker News

Show HN: A GitHub Action that quizzes you on a pull request

github.com

31–35 of 35 posts

Re: Show HN: A GitHub Action that quizzes you on a pull request

#33

Earlier quoted context omitted.

Code review, to me, is not about validating the output. It's about a 2nd set of eyes to check for foot guns, best practice, etc. Code review is one step above linting and one step below unit tests, for me. If someone were to submit this code for review: getUser(id: number): UserDTO { return this.mapToDTO(this.userModel.getById(id)); } and I knew that `userModel` throws an exception when it doesn't find a user (and th…

Depends how good your QA is. Where I am it is terrible so most of the time I spend in “code review” is spent checking out the code locally and testing it myself.

Yes, this is all on paper. Where I work we don't have QA

Re: Show HN: A GitHub Action that quizzes you on a pull request

#35

> AI Agents are starting to write more code. How do we make sure we understand what they're writing? This is a good question, but also how do we make sure that humans understand the code that _other humans_ have (supposedly) written? Effective code review is hard as it implies that the reviewer already has their own mental model about how a task could/would/should have been done, or is at the very least building thei…

Code review, to me, is not about validating the output. It's about a 2nd set of eyes to check for foot guns, best practice, etc. Code review is one step above linting and one step below unit tests, for me. If someone were to submit this code for review: getUser(id: number): UserDTO { return this.mapToDTO(this.userModel.getById(id)); } and I knew that `userModel` throws an exception when it doesn't find a user (and th…

This lines up with my experience, sometimes it is as simple as "Your way is fine, but we did it this other way over here, and over here, should we make it consistent, even if it is consistent but not as good" or as you pointed out, looking for footguns. I also like the supervillian model of "Show this to an average 5 year old and see what obvious flaw they point out".
Post reply on HN