This tag is for questions regarding the amount of code used or to be used in a post.
13
votes
3answers
144 views
“Function to erase a character in a string” question was unfairly closed
Function to erase a character in a string
This question is currently closed with the hypothetical/stub/pseudocode close reason.
Questions must involve real code that you own or maintain. ...
2
votes
1answer
44 views
How many lines of code are too much? [duplicate]
I've built an ASP.Net component, for example, which consists of a base class with 670 lines of code, a sub class with 180 lines, plus some code to illustrate it's usage.
I think this is a perfect ...
14
votes
1answer
77 views
Complete Review of Small Application
I have written a fairly small application (10 small classes). I have tried to follow best practices in terms of software design but I have a feeling it can be improved.
It is acceptable for me to ...
2
votes
0answers
39 views
My code with a small set of classes may be too much [duplicate]
I have a small set of classes that form an events system that I would very much like opinions on, but they're made up of a few classes that together amount to around 1kloc. I'm a little worried that ...
11
votes
2answers
193 views
My code is too long. How do I trim it down when code posted here is expected to function?
The code I would like to have reviewed, found here, is more than 30,000 characters long. I don't feel like that in and of itself makes it off topic, but removing code from it so that it can be posted ...
8
votes
3answers
135 views
Asking questions - including full code
In my first CR question, I was looking for feedback about my implementation of a graph data structure and an algorithm for depth first traversal, as I am studying these at the moment.
Although I ...
3
votes
1answer
59 views
How should really big code challenge submissions be reviewed? [duplicate]
As far as I am aware, a question consisting of a really big codebase is generally off-topic here, as our answerers are simply not able to put so much effort in it.
I'd like to talk about a special ...
21
votes
5answers
247 views
Do one-liners and other narrowed-down code qualify for a code review?
Every once in a blue moon, a question gets posted (often as a new user's first post) where the OP is asking a quite specific question about very minimalistic code, for example:
...
6
votes
2answers
85 views
Having an entire project reviewed
I have a small project I'm working on in an area I'm not comfortable with (web development). I would like someone to review my code. I can try to split it up, but I would prefer if someone looked at ...
8
votes
2answers
128 views
Review for large chunks of code
I am migrating from small pieces of code to larger applications. All my code is public on github or simillar. As I am in the middle of this transition, I am not very intrested in reviewing chunks of ...
2
votes
0answers
54 views
What is the upper bound for size of the code I can post on Code Review? [duplicate]
Suppose I'm writing a library and there are parts of it which I wish to be reviewed. What is the upper bound for size of the codebase (in characters, classes for example) which is considered to be ...
10
votes
1answer
177 views
How long is long code
I usually hang out at the JavaScript tag, with a mix of jQuery, HTML and CSS where the code reviewed are usually snippets, which run around 100 lines and code that needs micro-optimizations. These are ...
2
votes
1answer
86 views
How to get feedback on whole projects?
As far as I understand on Stack Overflow and Code Review, only smaller amounts of code are posted. It is expected to post the code there, and a whole project is way too much for one question.
On a ...
0
votes
1answer
37 views
Sharing code over a lot of files [duplicate]
I'm working on a multithreaded server and have a few questions regarding it, especially the best way of going around decoupling the server module (that manages the connections) from the application ...
12
votes
1answer
188 views
Should I attempt to have a large amount of code reviewed?
I'd love it if someone out there was willing to critique my code base on a larger scale - the thing is I can't imagine why anyone would actually want to.
Do you think I'm wrong about this? Should I ...
9
votes
3answers
268 views
What is the appropriate MINIMUM length of a Code Review question?
Obviously related to this, but I want to know the opposite. How short is too short?
For example, this doesn't seem long enough to be appropriate for a code review:
Highlight input if empty
The ...
11
votes
1answer
151 views
How long can code be?
First of all before, I hate the typical "codez plz" homework question.
I hope this has nothing to do with that, but it is actually a class assignment.
I won't post my code until it is completely ...
8
votes
1answer
118 views
Solving wide code
This SE site has a lot of long code postings. Usually these are just copy pasted from actual source code.
The maximum line width before a horizontal scrollbar appears, seems to be only 80 characters. ...
21
votes
1answer
214 views
Can we have collapsible code blocks?
I would like to see collapsible code blocks in questions and answers. This would be useful because sometimes the amount of code posted in a question or answer becomes so large (and necessary) that ...
24
votes
5answers
463 views
What is the appropriate length of a Code Review question?
While Stack Overflow questions often contain segments of pseudocode or purposely abbreviated code in order to make the question more palatable to other readers, for something like a Code Review, the ...