Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweaked coding guidelines a little
  • Loading branch information
kraih committed Apr 19, 2012
1 parent 0d45aff commit 4c5e5a9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/Mojolicious/Guides/CodingGuidelines.pod
Expand Up @@ -66,9 +66,10 @@ policies.
A major release is signaled by a new major version number and a unique code
name based on a unicode character.

Only add prereqs if absolutely necessary and make them optional if possible.
Only add dependencies if absolutely necessary and make them optional if
possible.

Domain specific languages should be avoided in favor of Perl'ish solutions.
Domain specific languages should be avoided in favor of Perl-ish solutions.

No inline POD.

Expand All @@ -82,15 +83,13 @@ Everything should be ordered alphabetically if possible.
The master source code repository should always be kept in a stable state, use
feature branches for actual development.

Lines should not be longer than 79 characters and we indent with 2
whitespaces.
Code has to be run through L<Perl::Tidy> with the included C<.perltidyrc>, and
everything should look like it was written by a single person.

Code should be run through L<Perl::Tidy> with the included C<.perltidyrc>.
Code should be organized in blocks and those blocks should be commented.

No spaghetti code.

Code should be organized in blocks and those blocks should be commented.

Comments should be correctly capitalized, and funny if possible, punctuation
is optional if it doesn't increase readability.

Expand Down

0 comments on commit 4c5e5a9

Please sign in to comment.