Path: csiph.com!usenet.pasdenom.info!goblin2!goblin1!goblin.stu.neva.ru!news.astraweb.com!border5.a.newsrouter.astraweb.com!border2.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 26 Feb 2014 09:45:57 -0600 Date: Wed, 26 Feb 2014 15:45:48 +0000 From: lipska the kat Organization: Trollbusters 3 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: java code References: <1o6dnRRLlOIZI5TOnZ2dnUVZ7oednZ2d@bt.com> <87mwhd7vvd.fsf@gmail.com> In-Reply-To: <87mwhd7vvd.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 88 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-lQh/9DdwJhQwiAvHVXo2ufaiwUddoZYz7XsEm6JhlKI8l1X2WGTYSMfQCxJYLc+2jDPkloIwj/cdjcR!oGkGA+xhI+Zzg+fzdvaJ5q2JVmlIVA0HWlwrsVSmidNUV75lxnmu1L5IU6Hji/c66il7eCJUG5Tm X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4314 Xref: csiph.com comp.lang.java.programmer:27598 On 26/02/14 15:10, Simon Lewis wrote: > lipska the kat writes: > >> On 25/02/14 22:54, Daniel Pitts wrote: >>> On 2/23/14 1:25 AM, lipska the kat wrote: >>>> On 21/02/14 00:03, jay'el antonio wrote: >>>>> please someone help me..what is the code of this output program using >>>>> java >>>>> 11 >>>>> 221 >>>>> 3321 >>>>> 44321 >>>>> 554321 >>>>> 6654321 >>>>> 77654321 >>>>> 887654321 >> >> >> >>> You are a Troll, sans Hunter. You also made that far more complicated >>> than it needs to be. >>> >>> public class BetterThanATroll { >>> public static void main(String[] args) { >>> String s = ""; >>> for (int i = 1; i <= 8; ++i) { >>> s = i + s; >>> System.out.println(i + s); >>> } >>> } >>> } >> >> Well now let's analyze your 'solution' shall we. >> >> Agreed the 'specification' is a little lacking but as we are unable to go back >> to the client at this time we need to make some assumptions. >> >> Assumption 1. It's 'homework' >> >> OK, now what do you imagine the learning objectives are? >> >> Well it certainly looks 'loopy' so >> >> Assumption 2. It's intended to get the student to learn about loop control >> variables, possibly to control nested loops. >> >> The output is numeric so >> >> Assumption 3. It's intended to exercise some understanding of manipulation of >> numeric variables ... >> >> Well that's about it for the assumptions, now how does your solution meet the >> objectives? >> >> ... ah yes, String concatenation in a for loop >> >> 1/10 for effort > > Nicely done. Why is that Java groups and IRC channels in particular are > so full of self inflated pompous idiots who seem to be there only to > belittle others and demonstrate their inate stupidity and narrow > mindedness? A question I have often asked myself ... I've yet to find the definitive answer. I don't know how long you've been involved in software development but this attitude of smug self satisfied pomposity pervades the software industry like a nasty smell. This group is particularly well endowed with smart arses. It's interesting to note that certain individuals who post here and in other groups only exhibit the worst of their arrogance in c.l.j.p. They would be given short shrift if they tried any of their nonsense in other groups. They are basically bullies and we know that the only way to deal with a bully is to stand up to them as they are also mostly cowards. Ho hum, it all adds to the rich tapestry of life I suppose I gave up on IRC a long time ago, if you want to discuss Java stuff go ahead, ignore the twats, there are helpful people here it's just that they sometimes get drowned out by the noise. -- Lipska the Kat©: Troll hunter, sandbox destroyer, treacherous feline and farscape dreamer of Aeryn Sun GNU/Linux user #560883 - http://www.linuxcounter.net