Skip to main content
3 of 6
edited tags
Jamal Mod
  • 35.2k
  • 2
  • 54
  • 106

How long can code be?

First of all before, I hate the typical homework question: "codez plz".

This, I hope has nothing to do with that, but is actually a class assignment.

I won't post my code until it is completely working as expected, that I understand, I also went through the FAQ and felt identified with this:

  • Code correctness
  • Best practices and design pattern usage in your code
  • Application UI
  • Security issues in a code snippet, etc.
  • The performance of your code

But what I'm still not sure about is how long my code can be, my project is between 200-300 LOC, I would never post something like that in SO, but here it might make more sense, since you don't have to go line by line in detail, rather coding style etc.

I've read through this and the accepted answer is open.

Mine is a simple to understand app, nothing crazy: a straightforward text-based game in Python.

Also, I can't really use any code you propose in my project, so, is it a valid request NOT to post any code, rather an explanation on what's wrong?

Of course this doesn't mean any code, just not actual fixes/improvement. Is this clear?

So my questions are basically two:

  • Is there a "magic number" of LOC for a simple project that is working, given that I want a "superficial" / coding style review?
  • Is it a valid request not to post code?

Should I just post the code and see?

Trufa
  • 221
  • 1
  • 5