[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian coding style?



In article <[🔎] 19990508013640.I10190@mors.net>,
Wichert Akkerman  <wichert@cs.leidenuniv.nl> wrote:
>> 4. Code width: The complete line of code should be visible without having=
> to
>> scroll horizontally - i.e. it should normally not pass the 78th column.
>
>With C++ and STL code you'll never be able to use that, the names just
>get too long. (example: I have a type called
>IntelligenceFactor::AnswerIterator::const_iterator in a project).=20

You basically wind up with something like this in many instances:

IntelligenceFactor::AnswerIterator::const_iterator(vector<string> v,
                                                   vector<int>::iterator
																									 it, string 
																									 description
																									 ....

Kinda painful eh? %-P

Amy
-- 
"We Suzaku Seishi aren't smart enough to give up!!!"  Tasuki (Fushigi Yuugi)

I don't speak for anyone but myself.


Reply to: