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


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

Re: PRINTING DIAMOND SHAPE WITH LOOPS!

Newsgroups comp.lang.java.programmer
Date 2013-12-02 15:31 -0800
References (9 earlier) <0823db40-389b-4f41-8aa0-b3f283b4c7a9@googlegroups.com> <ckuxy8b2dzk6$.m1uk0hqaet5k.dlg@40tude.net> <0905f2d3-dbe8-4fc4-8324-ae36262d42a0@googlegroups.com> <1ibxvrati43m0$.1obb9na9d8r0n.dlg@40tude.net> <3f12b042-9120-4dd3-821a-f815578c3764@googlegroups.com>
Message-ID <cccaa049-da17-475c-87a4-fee39fcef8a4@googlegroups.com> (permalink)
Subject Re: PRINTING DIAMOND SHAPE WITH LOOPS!
From Lew <lewbloch@gmail.com>

Show all headers | View raw


On Friday, November 29, 2013 5:12:36 PM UTC-8, pchr...@yahoo.co.uk wrote:
> On Friday, 29 November 2013 18:58:04 UTC, Joerg Meier  wrote:
> > On Fri, 29 Nov 2013 09:01:24 -0800 (PST), pchristor@yahoo.co.uk wrote:
> > > I may have a tab or a new line out of place but I wouldn't go as far 
> > > as to say that its non standard, against coding conventions or unpleasant 
> > > to read just because of that. The google browser seems to add spaces 
> > > to it anyway.
> 
> > Well of course YOU don't think anything is wrong with it, you're the one
> > who wrote it! If you knew you were doing it wrong you wouldn't have done it
> > in the first place.
> 
> > You asked which coding conventions you didn't follow, and now you have your
> > answer. If you'd now like to argue that you didn't mean to follow some
> > conventions in the first place, it seems silly that you asked about it at
> > all.
> 
> I didn't say there is nothing wrong with it, I realise its a little bit untidy but I didn't think it to be all that bad that I'd be pulled up about it. 

It was.

The conventions have been published for a decade and a half, more or less. You should be familiar
with them.

> And I haven't had the answer actually, I still don't know to which coding conventions are being referred. All I have been told is that the coding conventions which are being referred too require a) spaces around binary operators and b) four spaces for indentation.

Why, the standard Java coding conventions that have been around probably since before you ever
hear of Java, of course.

http://www.oracle.com/technetwork/java/codeconv-138413.html 

You should be grateful for the information.

-- 
Lew

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


Thread

Re: PRINTING DIAMOND SHAPE WITH LOOPS! jyothi.m1089@gmail.com - 2013-11-01 01:30 -0700
  Re: PRINTING DIAMOND SHAPE WITH LOOPS! rossum <rossum48@coldmail.com> - 2013-11-01 13:03 +0000
  Re: PRINTING DIAMOND SHAPE WITH LOOPS! Mike Amling <mamling@chaff.us> - 2013-11-01 09:59 -0500
  Re: PRINTING DIAMOND SHAPE WITH LOOPS! Roedy Green <see_website@mindprod.com.invalid> - 2013-11-01 18:32 -0700
    Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-12 05:21 -0800
      Re: PRINTING DIAMOND SHAPE WITH LOOPS! Lew <lewbloch@gmail.com> - 2013-11-27 15:57 -0800
        Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-27 19:21 -0500
        Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-28 17:45 -0800
          Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-28 21:10 -0500
            Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-29 03:03 -0800
              Re: PRINTING DIAMOND SHAPE WITH LOOPS! Joerg Meier <joergmmeier@arcor.de> - 2013-11-29 12:33 +0100
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-29 09:01 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-29 13:15 -0500
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-29 17:06 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-29 17:24 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-29 20:59 -0500
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-30 06:57 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-30 10:31 -0500
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Lew <lewbloch@gmail.com> - 2013-12-02 15:32 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-12-04 03:45 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-12-09 21:10 -0500
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-12-05 00:15 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-12-09 21:14 -0500
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Joerg Meier <joergmmeier@arcor.de> - 2013-11-29 19:58 +0100
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! pchristor@yahoo.co.uk - 2013-11-29 17:12 -0800
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Joerg Meier <joergmmeier@arcor.de> - 2013-11-30 02:55 +0100
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-29 21:01 -0500
                Re: PRINTING DIAMOND SHAPE WITH LOOPS! Lew <lewbloch@gmail.com> - 2013-12-02 15:31 -0800
              Re: PRINTING DIAMOND SHAPE WITH LOOPS! Arne Vajhøj <arne@vajhoej.dk> - 2013-11-29 12:48 -0500

csiph-web