Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABtNtWEshcVvtGmkH-XmjGo=0NyGjQWvcaaCzNuuWkeBdbnCmw@mail.gmail.com>
Date: Sun, 5 Apr 2015 11:21:13 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Coding Style

Hi all,

Coding style is one of my task. I want to discuss it, document it and
convert to it.
Below is the first problem I want to discuss.

Coding Style [1]: Brace Style
--------------------------------------

1.1 Put the opening brace of a function body in the next line below the
function
prototype or on the same line of the function prototype?

Most of the functions in john put the opening brace of a function body in
the next
line, but there are some functions put it on the same line.

1.2 Put all other opening braces on the same line as the syntax element to
which
the brace is subordinate.


Thanks,

Kai

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.