Skip to main content
Post Made Community Wiki by Mark
added 16 characters in body
Source Link
Mark
  • 161
  • 8

Summarizing what we heard so far and combining with my thoughts and intentions:

  • These question should not be closed
  • Reviewers should however point out to the OP that their use of var in the specific case reduces code clarity. We don't want to teach people notpreach to use var at allpeople about their coding style in general.
  • On a site where people come to have their code reviewed, we cannot tell them "that's bad code, you can't post it"
  • If code cannot be properly reviewed at all, comments should be made, asking for adjustment. That's common practice in all situations already anyways.

Summarizing what we heard so far and combining with my thoughts and intentions:

  • These question should not be closed
  • Reviewers should however point out to the OP that their use of var in the specific case reduces code clarity. We don't want to teach people not to use var at all.
  • On a site where people come to have their code reviewed, we cannot tell them "that's bad code, you can't post it"
  • If code cannot be properly reviewed at all, comments should be made, asking for adjustment. That's common practice in all situations already anyways.

Summarizing what we heard so far and combining with my thoughts and intentions:

  • These question should not be closed
  • Reviewers should however point out to the OP that their use of var in the specific case reduces code clarity. We don't want to preach to people about their coding style in general.
  • On a site where people come to have their code reviewed, we cannot tell them "that's bad code, you can't post it"
  • If code cannot be properly reviewed at all, comments should be made, asking for adjustment. That's common practice in all situations already anyways.
Source Link
Mark
  • 161
  • 8

Summarizing what we heard so far and combining with my thoughts and intentions:

  • These question should not be closed
  • Reviewers should however point out to the OP that their use of var in the specific case reduces code clarity. We don't want to teach people not to use var at all.
  • On a site where people come to have their code reviewed, we cannot tell them "that's bad code, you can't post it"
  • If code cannot be properly reviewed at all, comments should be made, asking for adjustment. That's common practice in all situations already anyways.