Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

66%
+2 −0
Meta Should I post a link to the Github repo for code reviews?

If it's so large that you must link the repo rather than reposting code, I think it is too large to reasonably expect anyone to review. Bored people will read a couple dozen lines, and point out a ...

posted 11mo ago by matthewsnyder‭  ·  edited 11mo ago by matthewsnyder‭

Answer
#2: Post edited by user avatar matthewsnyder‭ · 2023-06-11T21:16:55Z (11 months ago)
  • If it's so large that you must link the repo rather than reposting code, I think it is too large to reasonably expect anyone to review. Bored people will read a couple dozen lines, and point out a thing or two. But nobody (?) is bored enough to audit 1k+ LoC just for the asking.
  • I personally would like to see a review of individual PRs focused around a specific goal. It is already good practice for a PR to be focused, which helps reviewers understand what sort of feedback specifically you are looking for.
  • The problem here is that if you start posting your PRs on the code review site, there's not much left to discuss in the Codidact post. All discussion would naturally go into the PR page. For example, Github has a great interface for commenting on individual lines, and instead of using that, posting a bunch of permalink in your Codidact answer seems silly. But then again, it saves you from creating/logging in to a Github account, and you get Codidact rep for it. I've also used exactly that approach many times in the past over Email or IM because it's sometimes easier to have a dialogue that way than over Github comments.
  • Re: concern about linkrot, it is possible to extract a PR in a unified patch format and duplicate it on Codidact. Although, for Github specifically, the concern seems silly to me. Github is not like some random wordpress blog, their links are not going to rot. Github spent over a decade working very hard to develop a system that ensures that.
  • So how do the powers-that-be feel about allowing PR review request in the Code Review section? It would be a good way to boost activity and give knowledgeable people a good reason to use the site.
  • If it's so large that you must link the repo rather than reposting code, I think it is too large to reasonably expect anyone to review. Bored people will read a couple dozen lines, and point out a thing or two. But nobody (?) is bored enough to audit 1k+ LoC just for the asking.
  • I personally would like to see reviews of individual PRs focused around a specific goal. It is already good practice for a PR to be focused, which helps reviewers understand what sort of feedback specifically you are looking for.
  • The problem here is that if you start posting your PRs on the code review site, there's not much left to discuss in the Codidact post. All discussion would naturally go into the PR page. For example, Github has a great interface for commenting on individual lines, and instead of using that, posting a bunch of permalink in your Codidact answer seems silly. But then again, it saves you from creating/logging in to a Github account, and you get Codidact rep for it. I've also used exactly that approach many times in the past over Email or IM because it's sometimes easier to have a dialogue that way than over Github comments.
  • Re: concern about linkrot, it is possible to extract a PR in a unified patch format and duplicate it on Codidact. Although, for Github specifically, the concern seems silly to me. Github is not like some random wordpress blog, their links are not going to rot. Github spent over a decade working very hard to develop a system that ensures that.
  • So how do the powers-that-be feel about allowing PR review request in the Code Review section? It would be a good way to boost activity and give knowledgeable people a good reason to use the site.
#1: Initial revision by user avatar matthewsnyder‭ · 2023-06-11T21:15:42Z (11 months ago)
If it's so large that you must link the repo rather than reposting code, I think it is too large to reasonably expect anyone to review. Bored people will read a couple dozen lines, and point out a thing or two. But nobody (?) is bored enough to audit 1k+ LoC just for the asking.

I personally would like to see a review of individual PRs focused around a specific goal. It is already good practice for a PR to be focused, which helps reviewers understand what sort of feedback specifically you are looking for.

The problem here is that if you start posting your PRs on the code review site, there's not much left to discuss in the Codidact post. All discussion would naturally go into the PR page. For example, Github has a great interface for commenting on individual lines, and instead of using that, posting a bunch of permalink in your Codidact answer seems silly. But then again, it saves you from creating/logging in to a Github account, and you get Codidact rep for it. I've also used exactly that approach many times in the past over Email or IM because it's sometimes easier to have a dialogue that way than over Github comments.

Re: concern about linkrot, it is possible to extract a PR in a unified patch format and duplicate it on Codidact. Although, for Github specifically, the concern seems silly to me. Github is not like some random wordpress blog, their links are not going to rot. Github spent over a decade working very hard to develop a system that ensures that.

So how do the powers-that-be feel about allowing PR review request in the Code Review section? It would be a good way to boost activity and give knowledgeable people a good reason to use the site.