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


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

Re: Inserting Multiple Lines from Console

Newsgroups comp.lang.java.programmer
Date 2013-04-08 17:59 -0700
References (1 earlier) <Texteditor-20130408160509@ram.dialup.fu-berlin.de> <1g78uhsyrvwdo.wcwiwmnmky0$.dlg@40tude.net> <MmG8t.110815$8d.85821@newsfe14.iad> <51dbac84-c063-43fa-b7cc-7a86fbf50a29@googlegroups.com> <87r4ik8vu0.fsf@xopzuey.i-did-not-set--mail-host-address--so-tickle-me>
Message-ID <e9643093-3765-490b-ab6f-0626af042ff8@googlegroups.com> (permalink)
Subject Re: Inserting Multiple Lines from Console
From Lew <lewbloch@gmail.com>

Show all headers | View raw


znôrt wrote:
> Lew writes:
>> In this case it's a bizarre answer.
> 
> i [sic] found it amusing, and quite brilliant.

This is a Java newsgroup, and the OP clearly was trying to learn Java.

>> The suggestion to use Scanner or a string tokenizer was better.
> 
> instead of pointing to some basic building blocks with which to build a
> rudimentary parser, he presented a working solution using a complete
> parser already available to java [sic]. i [sic] would definitely hire this guy! xD

Not appropriate for the question, though.
 
> and his code style isn't that bad. anyway if your eyes start to bleed
> just paste into eclipse [sic] and hit ctrl-shift-f!

You don't work in a professional programming environment with source control and 
code reviews, do you?

Formatting changes introduce more to review and get wrong. They are frowned upon.

Everywhere I've worked has insisted on a house style before checkin is permitted.

Also, I program on a Mac a lot of the time, so Ctrl-Shift-F doesn't work, and when at 
home I usually use NetBeans, which has a different key chord.

Not everyone uses Eclipse or NetBeans, either.

Stefan is notable for his attitude about conventional formatting and simple type names.

-- 
Lew

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


Thread

Inserting Multiple Lines from Console subhabangalore@gmail.com - 2013-04-08 06:59 -0700
  Re: Inserting Multiple Lines from Console Joerg Meier <joergmmeier@arcor.de> - 2013-04-08 17:04 +0200
    Re: Inserting Multiple Lines from Console Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-04-08 14:10 -0700
      Re: Inserting Multiple Lines from Console Lew <lewbloch@gmail.com> - 2013-04-08 15:10 -0700
        Re: Inserting Multiple Lines from Console x@x.com (znôrt) - 2013-04-09 01:08 +0200
          Re: Inserting Multiple Lines from Console Lew <lewbloch@gmail.com> - 2013-04-08 17:59 -0700
            Re: Inserting Multiple Lines from Console x@x.com (znôrt) - 2013-04-09 08:46 +0200
            Re: Inserting Multiple Lines from Console Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-04-09 05:39 -0300
              Re: Inserting Multiple Lines from Console Martin Gregorie <martin@address-in-sig.invalid> - 2013-04-09 23:04 +0000
              Re: Inserting Multiple Lines from Console x@x.com (znôrt) - 2013-04-10 19:45 +0200
                Re: Inserting Multiple Lines from Console Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-04-10 14:43 -0400
                Re: Inserting Multiple Lines from Console Gene Wirchenko <genew@telus.net> - 2013-04-11 11:11 -0700
                Re: Inserting Multiple Lines from Console Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-04-11 15:05 -0400
  Re: Inserting Multiple Lines from Console lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-08 16:21 +0100
  Re: Inserting Multiple Lines from Console markspace <markspace@nospam.nospam> - 2013-04-08 09:56 -0700
  Re: Inserting Multiple Lines from Console lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-09 08:28 +0100

csiph-web