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.

Should I post a link to the Github repo for code reviews?

+6
−0

Hello. Total noob here and noob to this site. I've written a non-trivial program in Python. Code review didn't take the whole thing (400+ lines of code). Should I post a link to my Github repo or is that not appropriate?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

3 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+2
−0

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.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+5
−0

Welcome!

It's best if the code being reviewed is here on the site, for ease of reference and defense against link rot. That sounds like a sizable program; are there key parts you'd like review on, as opposed to the whole thing? You could include the GitHub link for anybody who wants to run it as part of the review, but most of our code reviews have focused on smaller pieces. The various utility methods, accessors, etc probably aren't the interesting part, right? Also, if you focus on the most important parts, you're more likely to get good feedback from reviewers, as you'll make it easy for them to skip the routine stuff and focus on the meat.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

400 LoC isn't much (5 comments)
+1
−4

Total noob here and noob to this site. I've written a non-trivial program in Python.

I'm the only one who see contradiction here? Anyway, posting link to GitHub repo is absolutely appropriate. Moreover I'd say this is the best way for something that is more than 100 lines of code.

One can write an answer with explanations and also open PR with suggestions. You don't have to merge it but I believe it would be easier for you to understand feedback this way. At least that's how I usually do code-review from communities like this one when link to github repo is available.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

I think he means he's a noob of the site, not a noob of Python. (2 comments)

Sign up to answer this question »