Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34413

Re: Div explosion

From Duncan Idaho <duncan@dunenoemail.com>
Newsgroups comp.infosystems.www.authoring.stylesheets, comp.lang.java.programmer
Subject Re: Div explosion
Date 2016-05-28 15:47 +0100
Organization A noiseless patient Spider
Message-ID <nicaqo$nd6$1@dont-email.me> (permalink)
References <ni9q5q$es9$1@dont-email.me> <gOCdnVZpSaCpI9XKnZ2dnUU7-K2dnZ2d@giganews.com> <nibg98$7hk$1@dont-email.me> <ellipsis-20160528142841@ram.dialup.fu-berlin.de>

Cross-posted to 2 groups.

Show all headers | View raw


On 28/05/16 14:34, Stefan Ram wrote:
> Duncan Idaho <duncan@dunenoemail.com> writes:
>> The ellipsis is a device use to indicate that something has been left out but that what has been left out is not
>> relevant in the context of the discussion. It's a widely used convention.
>
>    In this C++ code,
>
> template< typename... Declaration >class CSS_Declarations;
>
>    , or in this Java code,
>
> public static String formatCSS
> ( java.lang.String pattern, Object ... CSSRules );
>
>    »...« has to literally be a part of the source code.

It's the Java syntax for a variable length argument list

>    Instead of
>
> <div ...>
>
>    , one might use
>
> <div data-example=example>
>
>    . Readers can cut and paste code into an interpreter
>    when it obeys all syntax rules.
>
>    It's also a widely used convention to restrict lines to
>    72 characters in Usenet.

OK, how's this mailnews.wraplength;72

>    (It is true that you are posting with »format=flowed«,
>    but RFC 2646 only says that the receiver /may/ use the
>    definition of flowed text:

I have to say I find it a little strange to be lectured about 
conventions by someone who consistently fails to follow conventions wrt 
the formatting of human readable Java source code.

Not only do you publish code in an unreadable and convention defying 
style but, and this is much more unforgivable, you presumably use this 
unconventional and unreadable style to 'teach' your students.

Have you heard of the well known English idiom

"pot calling the kettle black"

Idaho

-- 
Duncan Idaho
!(ghola mentat)

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: Div explosion Duncan Idaho <duncan@dunenoemail.com> - 2016-05-28 15:47 +0100

csiph-web