Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!mit.eternal-september.org!.POSTED!not-for-mail From: Simon Lewis Newsgroups: comp.lang.java.programmer Subject: Re: new stuff in 1.8 Date: Mon, 05 May 2014 18:20:37 +0200 Organization: Lewis Lines: 38 Message-ID: <87vbtktcx6.fsf@gmail.com> References: <877g658we7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mit.eternal-september.org; posting-host="429d8c2c78b8d1bf0d1dfc93e35d17bc"; logging-data="8157"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yJh2qxwybiE99bd+/sBcgZR55p28U9so=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:UdwzTshMga8iAt7D1LoH5qFeQkw= sha1:VLHeR5s2Lfrq5F0X/2RNrEy4Ock= Xref: csiph.com comp.lang.java.programmer:28377 Andreas Leitgeb writes: > Simon Lewis wrote: >> Roedy Green writes: >>> On Thu, 1 May 2014 12:39:36 +0000 (UTC), Sarah Connor >>> wrote, quoted or indirectly quoted someone >>> who said : >>>>And Lisp did it even earlier and much better. >>> Even Java drives me crazy counting () and {} nesting depths. Can you >>> imagine the effect of Lisp? >> Seriously, if you are "counting" brackets there is something very very >> broken in your approach and knowledge of editors and IDEs. > > In Java, there's at least that distinction between braced structural blocks > and parentheses in expressions. And if expressional parentheses do not Like a lot of other languages. This is basic stuff. IDEs cope with them well. Good editors like Emacs cope with them well. Complaining here is the equivalent of saying "I cant google" IMO. > properly pair up inside a structural block, then I can be pretty damn sure > that the compiler will tell me near to the spot and not just at the end > of the source file. or you keep an eye on things as you type/edit. Amazing idea I know. There's this wonderful rocket science thing called "syntax hiliting". > > Structural blocks *should* be consistent with indentation, and thus not > necessary to count. (if not consistent, then who's to blame?) > > Lisps parentheses are indeed horror. Not really. With a good editor. Like Emacs.