Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7405 > unrolled thread
| Started by | Eric Sosman <esosman@ieee-dot-org.invalid> |
|---|---|
| First post | 2011-08-26 20:56 -0400 |
| Last post | 2011-08-31 00:31 +0200 |
| Articles | 20 on this page of 182 — 33 participants |
Back to article view | Back to comp.lang.java.programmer
Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-26 20:56 -0400
Re: Style Police (a rant) Robert Klemme <shortcutter@googlemail.com> - 2011-08-27 09:58 +0200
Re: Style Police (a rant) Rajiv Gupta <rajiv@invalid.com> - 2011-08-27 18:02 +1000
Re: Style Police (a rant) v_borchert@despammed.com (Volker Borchert) - 2011-08-27 08:40 +0000
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 13:27 +0200
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 13:33 +0200
Re: Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-27 11:08 -0400
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 08:34 -0700
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 08:37 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 17:59 +0200
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 18:06 +0200
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 18:08 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 09:50 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 19:15 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 13:09 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-27 23:18 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 16:10 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-28 01:59 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 18:59 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-28 15:32 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-28 13:09 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-29 04:02 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-28 19:20 -0700
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-29 09:44 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-29 08:30 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-29 16:37 +0000
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-29 12:10 -0700
Re: Style Police (a rant) Robert Klemme <shortcutter@googlemail.com> - 2011-08-29 18:21 +0200
Re: Style Police (a rant) Jan Burse <janburse@fastmail.fm> - 2011-08-29 04:06 +0200
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-10 06:45 +0200
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-10 11:40 +0000
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-10 14:06 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-11 14:07 +0000
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 10:55 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-11 23:34 +0000
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 10:58 -0400
Re: Style Police (a rant) Patricia Shanahan <pats@acm.org> - 2011-09-11 10:12 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-14 12:22 +0000
Re: Style Police (a rant) Bent C Dalager <bcd@pvv.ntnu.no> - 2011-09-14 15:04 +0000
Re: Style Police (a rant) Paul Cager <paul.cager@googlemail.com> - 2011-09-14 09:36 -0700
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-11 09:47 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-11 23:32 +0000
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-17 00:57 +0200
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-17 19:56 +0000
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-11 21:20 +0200
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-11 17:11 -0400
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-12 01:22 +0200
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 21:13 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-11 16:54 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-11 23:42 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-12 21:54 -0700
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-13 07:18 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-13 10:07 -0400
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-13 08:15 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-13 12:00 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-13 10:10 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-13 09:55 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-15 10:37 -0400
Re: Style Police (a rant) "Cthun" <cthun_9112011@qmail.net.au> - 2011-09-15 22:58 -0400
Murphy = Troll [DO NOT FEED] thoolen <th00len@th0lenbot.thorium> - 2011-09-16 00:23 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-16 03:26 -0700
Re: Style Police (a rant) un-Bent <dob@dib.dib.null> - 2011-09-16 13:02 +0000
Murphy = Troll [DO NOT FEED] thoolen <th00len@th0lenbot.thorium> - 2011-09-16 22:40 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-17 19:36 -0400
Re: Style Police (a rant) "kaffel'latte" <jiggingjava@qmail.net> - 2011-09-19 08:58 -0400
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-19 11:56 -0400
Re: Style Police (a rant) "kaffel'latte" <jiggingjava@qmail.net> - 2011-09-19 17:05 -0400
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-19 19:13 -0400
Re: Style Police (a rant) k00k Derbyshire spins freely "kaffel'latte" <jiggingjava@qmail.net> - 2011-09-19 20:45 -0400
Re: Style Police (a rant) k00k Derbyshire spins freely thoolen <th00len@th0lenbot.thorium> - 2011-09-21 18:37 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-26 15:13 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-26 19:34 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-01 06:49 -0700
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-10-01 09:21 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-10-01 14:17 -0400
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-10-01 20:53 +0200
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-10-01 21:12 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-05 06:17 -0700
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-12 04:56 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-12 05:12 -0400
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-12 04:59 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-12 05:13 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-11 23:17 +0000
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 21:12 -0400
Re: Style Police (a rant) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-12 07:36 -0300
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-12 04:58 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-12 05:12 -0400
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-11 15:33 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-11 09:42 -0700
Re: Style Police (a rant) Lars Enderin <lars.enderin@telia.com> - 2011-09-11 20:35 +0200
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-11 16:55 -0700
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-11 20:36 -0700
Re: Style Police (a rant) Lars Enderin <lars.enderin@telia.com> - 2011-09-12 10:05 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-12 15:35 -0700
Re: Style Police (a rant) Lars Enderin <lars.enderin@telia.com> - 2011-09-13 10:35 +0200
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-13 09:48 -0700
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-13 12:18 -0700
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-13 17:30 -0700
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-12 21:59 -0700
Re: Style Police (a rant) Joe Attardi <jattardi@gmail.com> - 2011-09-23 10:54 -0700
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-24 01:54 -0400
Re: Style Police (a rant) "tholen@antispam.ham" <tholen@ifa.hawaii.edu> - 2011-09-24 02:58 -0700
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-24 11:35 -0400
Re: Style Police (a rant) Joe Attardi <jattardi@gmail.com> - 2011-09-26 13:50 -0700
Re: Style Police (a rant) Jane Doe <jdoe@love.in.d.jungle.invalid> - 2011-09-26 21:14 +0000
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-26 17:50 -0400
Re: Style Police (a rant) "tholen@antispam.ham" <tholen@ifa.hawaii.edu> - 2011-11-04 15:56 -0700
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-11-07 12:04 -0500
Re: Style Police (a rant) "tholen@antispam.ham" <tholen@ifa.hawaii.edu> - 2011-11-10 15:22 -0800
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-26 17:47 -0400
Re: Style Police (a rant) "tholen@antispam.ham" <tholen@ifa.hawaii.edu> - 2011-11-04 15:48 -0700
Re: Style Police (a rant) dizzy <dizzy@nospam.invalid> - 2011-11-05 07:58 -0500
Re: Style Police (a rant) "tholen@antispam.ham" <tholen@ifa.hawaii.edu> - 2011-11-10 15:17 -0800
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-26 15:17 -0700
Re: Style Police (a rant) Jane Doe <jdoe@love.in.d.jungle.invalid> - 2011-09-27 00:50 +0000
Re: Style Police (a rant) tisue@cs.nwu.edu (Seth Tisue) - 2011-09-27 08:55 -0600
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-27 14:14 -0400
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-27 14:11 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-01 07:31 -0700
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-26 22:24 -0400
Re: Style Police (a rant) Jane Doe <jdoe@love.in.d.jungle.invalid> - 2011-09-27 09:30 +0000
Re: Style Police (a rant) tisue@cs.nwu.edu (Seth Tisue) - 2011-09-27 08:57 -0600
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-27 14:38 -0400
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-27 14:36 -0400
Re: Style Police (a rant) Kaz Kylheku <kaz@kylheku.com> - 2011-09-30 15:58 +0000
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-01 07:32 -0700
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-30 21:26 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-01 07:34 -0700
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-10-01 15:51 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-05 06:18 -0700
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-10-01 16:26 -0400
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-10-01 21:25 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-05 06:23 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-10-05 10:01 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-10-07 08:29 -0700
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-10-07 17:34 -0400
Re: Style Police (a rant) Retahiv Oopsiscame <roopsisc@gmail.com> - 2011-09-12 21:58 -0700
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-12 04:52 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-12 05:14 -0400
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-12 06:42 -0400
Re: Style Police (a rant) Cthun <cthun_117@qmail.net.au> - 2011-09-12 07:20 -0400
Re: Style Police (a rant) "Cthun" <cthun_117@qmail.net.au> - 2011-09-12 08:46 -0400
Re: Style Police (a rant) thoolen <th00len@th0lenbot.thorium> - 2011-09-12 21:03 -0400
Re: Style Police (a rant) Tom Anderson <twic@urchin.earth.li> - 2011-09-12 20:18 +0100
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-11 21:20 +0200
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-11 13:52 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-12 00:17 +0000
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-10 21:32 -0400
Re: Style Police (a rant) Wanja Gayk <brixomatic@yahoo.com> - 2011-09-11 13:27 +0200
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 11:05 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-11 13:23 +0000
Re: Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-11 10:04 -0400
Re: Style Police (a rant) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-11 12:45 -0300
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 16:53 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-14 12:30 +0000
Re: Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-14 20:47 -0400
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-09-14 18:06 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-15 10:06 +0000
Re: Style Police (a rant) blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-09-20 11:28 +0000
Re: Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-20 07:36 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-20 13:04 +0000
Re: Style Police (a rant) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-20 20:34 -0300
Re: Style Police (a rant) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-14 22:33 -0300
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-15 13:46 +0000
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-14 21:40 -0400
Re: Style Police (a rant) Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 10:59 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-09-11 21:25 +0000
Re: Style Police (a rant) Tom Anderson <twic@urchin.earth.li> - 2011-08-27 14:00 +0100
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-27 08:42 -0700
Re: Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-27 11:58 -0400
Re: Style Police (a rant) "John B. Matthews" <nospam@nospam.invalid> - 2011-08-28 08:21 -0400
Re: Style Police (a rant) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-28 18:07 -0300
Re: Style Police (a rant) Roedy Green <see_website@mindprod.com.invalid> - 2011-08-29 04:20 -0700
Re: Style Police (a rant) Tim Slattery <Slattery_T@bls.gov> - 2011-08-29 09:11 -0400
Re: Style Police (a rant) Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-29 20:50 -0400
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-30 11:27 +0000
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-30 09:36 -0700
Re: Style Police (a rant) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-30 17:51 +0000
Re: Style Police (a rant) Tim Slattery <Slattery_T@bls.gov> - 2011-08-30 08:51 -0400
Re: Style Police (a rant) Patricia Shanahan <pats@acm.org> - 2011-08-30 09:04 -0700
Re: Style Police (a rant) Lew <lewbloch@gmail.com> - 2011-08-30 09:43 -0700
Re: Style Police (a rant) Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-08-31 00:31 +0200
Page 5 of 10 — ← Prev page 1 … 3 4 [5] 6 7 … 10 Next page →
| From | "Cthun" <cthun_117@qmail.net.au> |
|---|---|
| Date | 2011-09-12 04:59 -0400 |
| Message-ID | <j4ki2a$dj1$1@speranza.aioe.org> |
| In reply to | #7843 |
Oopsiscame <roopsisc@gmail.com>, wrote: >You could have saved everyone a lot of time if you'd said up front >that it was a fucking Lisp, Cthun. :P frogery alert!! Really I should cancel my google accounts.
[toc] | [prev] | [next] | [standalone]
| From | Cthun <cthun_117@qmail.net.au> |
|---|---|
| Date | 2011-09-12 05:13 -0400 |
| Message-ID | <j4kiga$ef6$3@speranza.aioe.org> |
| In reply to | #7871 |
On 12/09/2011 4:59 AM, Cthun did not write: > frogery alert!! What does your forgery have to do with Java, murphy? > Really I should cancel my google accounts. Last time I checked, you don't have any, murphy. So much for "I'm going away and I'm never coming back", eh, murphy? Liar.
[toc] | [prev] | [next] | [standalone]
| From | Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> |
|---|---|
| Date | 2011-09-11 23:17 +0000 |
| Message-ID | <slrnj6qgcp.6gl.avl@gamma.logic.tuwien.ac.at> |
| In reply to | #7816 |
Wanja Gayk <brixomatic@yahoo.com> wrote: > avl@gamma.logic.tuwien.ac.at says... >> > I agree that the evidence for the advantage of a 'var' keyword >> > over a 'final' is lacking, >> That Wanja suggested the "var" keyword is an indication of that he has >> a bias towards functional programming. > Hm, I can't really say that this is the case. It's just in the past few > years that I'm adopting rather functional paradigms, But using "final" > a lot has hardly anything to do with functional programming in my opinion. Creating new (final) variables all the way, rather than reusing/overwriting existing ones appears to me typical for functional paradigms... Actually that is merely a consequence of FP's avoiding of side effects, so my reverse assumption (lotsa final's => FP) was no more sound than concluding a past rain from seeing a wet road - merely a rather safe bet, but not necessarily always true. > which means I can forget about most of the variables when > analyzing code. To me, making a reference to a mutable type (like Iterator) final is rather harmful than good. Ok, the iterator won't be replaced by another one, but I wouldn't expect that to happen anyway in that code. The mutable state within the iterator is essentially part of the mutable state of that piece of code, thus cannot be "forgotten" during analysis of the code. >> I just disagree with Wanja as to making "final" the default: it's >> like bullying others to functional style in Java. > The above code is by no means functional, is it? You're right. Afterall, it didn't contain all that many finals. That probably wasn't yet the kind of code that would convince one to have "final" as default and another keyword for non-final variables.
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2011-09-11 21:12 -0400 |
| Message-ID | <4e6d5c88$0$316$14726298@news.sunsite.dk> |
| In reply to | #7835 |
On 9/11/2011 7:17 PM, Andreas Leitgeb wrote: > Wanja Gayk<brixomatic@yahoo.com> wrote: >> which means I can forget about most of the variables when >> analyzing code. > > To me, making a reference to a mutable type (like Iterator) final > is rather harmful than good. Ok, the iterator won't be replaced by > another one, but I wouldn't expect that to happen anyway in that > code. The mutable state within the iterator is essentially part > of the mutable state of that piece of code, thus cannot be > "forgotten" during analysis of the code. Occasionally C++: const X * const o is missed. Arne
[toc] | [prev] | [next] | [standalone]
| From | Arved Sandstrom <asandstrom3minus1@eastlink.ca> |
|---|---|
| Date | 2011-09-12 07:36 -0300 |
| Message-ID | <xglbq.7562$mA3.4819@newsfe19.iad> |
| In reply to | #7835 |
On 11-09-11 08:17 PM, Andreas Leitgeb wrote: > Wanja Gayk <brixomatic@yahoo.com> wrote: >> avl@gamma.logic.tuwien.ac.at says... >>>> I agree that the evidence for the advantage of a 'var' keyword >>>> over a 'final' is lacking, >>> That Wanja suggested the "var" keyword is an indication of that he has >>> a bias towards functional programming. >> Hm, I can't really say that this is the case. It's just in the past few >> years that I'm adopting rather functional paradigms, But using "final" >> a lot has hardly anything to do with functional programming in my opinion. > > Creating new (final) variables all the way, rather than reusing/overwriting > existing ones appears to me typical for functional paradigms... > > Actually that is merely a consequence of FP's avoiding of side effects, > so my reverse assumption (lotsa final's => FP) was no more sound than > concluding a past rain from seeing a wet road - merely a rather safe > bet, but not necessarily always true. I'd think of FP as being primarily the avoidance of mutable program state. You get that through expression evaluation rather than statement evaluation. Everything is a value (expression) so functions are first-class values too. The real nuance of FP variables is that they are mathematical variables; just names. In Algol-like languages a variable denotes a storage location (dispensing with the technicalities of what modern compilers/interpreters may do). An FP variable simply maps to an expression; a Java final reference might be to a mutable object, so definitely not even close to the same thing. >> which means I can forget about most of the variables when >> analyzing code. > > To me, making a reference to a mutable type (like Iterator) final > is rather harmful than good. Ok, the iterator won't be replaced by > another one, but I wouldn't expect that to happen anyway in that > code. The mutable state within the iterator is essentially part > of the mutable state of that piece of code, thus cannot be > "forgotten" during analysis of the code. [ SNIP ] I agree: make a reference to a mutable type final and all it does is foster a false sense of security. AHS
[toc] | [prev] | [next] | [standalone]
| From | "Cthun" <cthun_117@qmail.net.au> |
|---|---|
| Date | 2011-09-12 04:58 -0400 |
| Message-ID | <j4j858$gdo$1@speranza.aioe.org> |
| In reply to | #7816 |
>On 11/09/2011 3:20 PM, Wanja Gayk wrote:
>$ public<T> List<T> withoutDupes(final List<T> xs) {
>$ return new Object() {
>$ <T> List<T> withoutDupes(final List<T> head, final List<T> tail) {
>$ if(tail.isEmpty()){return head;}
>$ if (head.contains(tail.get(0))) {
>$ return withoutDupes(head, tail.subList(1, tail.size()));
>$ }
>$ return withoutDupes(
>$ new ArrayList<T>(head){{add(tail.get(0));}}
>$ , tail.subList(1, tail.size())
>$ );
>$ }
>$ }.withoutDupes(Collections.<T>emptyList(), xs);
>$ }
>
>> This is a whole different beast (and prone to crash with a stack
>> overflow exception on larger lists by the way).
>> Admitted, it is not entirely functional due to the "add"-call, but quite
>> close. Still it is pretty compact code (there is a certain beauty in
>> recursion, isn't it?) and not hard to understand either.
>>
>> Bullying someone to functional code would be pretty stupid, as the
>> current JVMs still have a hard time detecting tail recursions and it
>> lacks data structures that do lazy evaluation in the Java SE.
>
>There's a way around that, and it's called Clojure. It compiles to JVM
>bytecode and has both lazy lists and a special operator for doing tail
>recursion (the compiler turns it into an iteration).
typo!
Closure.
My own iteration.
[toc] | [prev] | [next] | [standalone]
| From | Cthun <cthun_117@qmail.net.au> |
|---|---|
| Date | 2011-09-12 05:12 -0400 |
| Message-ID | <j4kieq$ef6$2@speranza.aioe.org> |
| In reply to | #7868 |
On 12/09/2011 4:58 AM, Cthun did not write: > typo! > Closure. > My own iteration. So much for "I'm going away and I'm never coming back", eh, murphy? Liar.
[toc] | [prev] | [next] | [standalone]
| From | Wanja Gayk <brixomatic@yahoo.com> |
|---|---|
| Date | 2011-09-11 15:33 +0200 |
| Message-ID | <MPG.28d6c33c1ee98b559896af@202.177.16.121> |
| In reply to | #7765 |
In article <slrnj6mj4j.6gl.avl@gamma.logic.tuwien.ac.at>, avl@gamma.logic.tuwien.ac.at says...
>
> Wanja Gayk <brixomatic@yahoo.com> wrote:
> > It's a shame that in Java not all references are implicitly final and
> > only real variables get marked with "var" instead - that would serve the
> > same purpose with less effort and less visual clutter.
>
> It seems like your general coding style differs from mine. The
> percentage of re-assigned variables versus those assigned only
> once is large enough, that a "var" keyword would cause more
> clutter than putting "final" on each other variable.
>
>
> I'd favor a different change: let final variables optionally
> have their type inferred:
> final myList = new ArrayList<String>();
> Afterall, it is just a handle for some previously obtained value.
Well, is it?
I have a hard time believing that.
Could you be so kind to post some code?
Here's some undocumented reflection code I once wrote for a utility
(I also stripped the first indentation for this posting).
I thought I'd use that as I saw the class containted actually some code that
looked quite typical to my eyes at the first glance.
Though I know from my experience that most of my code has hardly any changing
variable in it, apart from some index or so, but I was pretty surprised to
see that there is actually not a single "changing" reference in it that had to
be marked as "var" in ther languages.
Just see for yourself and compare your coding style to mine, is it really that different?
class ApplicationWorkerUtil {
static interface InternalExceptionHandler {
void handle(final TimeoutException e);
void handle(final Exception e);
}
static Iterable<CancellableRunnable> getRunnables(final Object target, final Schedule lifecycle, final InternalExceptionHandler exceptionHandler) {
final List<CancellableRunnable> tasks = new ArrayList<CancellableRunnable>();
for (final Method m : getMethods(target.getClass(), lifecycle)) {
tasks.add(methodAsRunnable(target, m, exceptionHandler));
}
return tasks;
}
private static CancellableRunnable methodAsRunnable(final Object target, final Method method, final InternalExceptionHandler exceptionHandler) {
final Runnable r = new Runnable() {
public void run() {
try {
method.invoke(target);
} catch (IllegalArgumentException e) {
exceptionHandler.handle(new IllegalStateException("Unexpected state running a GUI-Job", e));
} catch (IllegalAccessException e) {
exceptionHandler.handle(e);
} catch (InvocationTargetException e) {
if (e.getCause() instanceof Exception) {
exceptionHandler.handle((Exception) e.getCause());
} else {
exceptionHandler.handle(e);
}
}
}
};
return new CancellableRunnable(r);
}
private static List<Method> getMethods(final Class<?> targetClass, final Schedule lifecycle){
final List<Method> methods=getDeclaredMethods(targetClass, new Predicate<Method>(){
public boolean matches(final Method candidate){
assert candidate != null;
final Job jobAnnot=candidate.getAnnotation(Job.class);
return jobAnnot != null && lifecycle.equals(jobAnnot.value());
}
});
ensureNoParameters(methods);
sort(methods);
return methods;
}
static <T extends Annotation> List<Method> getDeclaredMethods(final Class<?> c, final Predicate<Method> pred){
final List<Method> found=new ArrayList<Method>();
for(final Method m : c.getDeclaredMethods()){
if(pred.matches(m)){
AccessController.doPrivileged(new PrivilegedAction<Void>(){
public Void run(){
m.setAccessible(true);
return null;
}
});
found.add(m);
}
}
return found;
}
private static void ensureNoParameters(final List<Method> methods){
for(final Method method : methods){
if(method.getParameterTypes().length > 0){
final Job jobAnnot=method.getAnnotation(Job.class);
assert jobAnnot != null;
final Schedule lifecycle=jobAnnot.value();
final Class<?> declaringClass=method.getDeclaringClass();
throw new IllegalArgumentException("The method " + declaringClass.getName() + "#" + method.getName() + " annotated with " + lifecycle
+ " must not have any parameters.");
}
}
}
private static void sort(final List<Method> methods){
Collections.sort(methods, new Comparator<Method>(){
public int compare(final Method o1, final Method o2){
final int i1=o1.getAnnotation(Job.class).index();
final int i2=o2.getAnnotation(Job.class).index();
return i1 > i2 ? 1 : i1 == i2 ? 0 : -1;
}
});
}
static void waitForCompletion(final Iterable<Future<?>> futures, final long timeoutMs) throws InterruptedException, TimeoutException {
try {
final long timeoutTime = System.currentTimeMillis() + timeoutMs;
for (final Future<?> future : futures) {
if (!future.isDone()) {
if (timeoutMs < 0) {
future.get();
} else {
future.get(Math.max(0, timeoutTime - System.currentTimeMillis()), TimeUnit.MILLISECONDS);
}
}
}
} catch (ExecutionException e) {
throw new RuntimeException("Unhandled Exception:", e.getCause());
}
}
}
Kind regards,
Wanja
--
..Alesi's problem was that the back of the car was jumping up and down
dangerously - and I can assure you from having been teammate to
Jean Alesi and knowing what kind of cars that he can pull up with,
when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer]
--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2011-09-11 09:42 -0700 |
| Message-ID | <44bed345-7302-4fbc-ac46-306c7429a5bc@glegroupsg2000goo.googlegroups.com> |
| In reply to | #7794 |
Wanja Gayk wrote:
> class ApplicationWorkerUtil {
>
> static interface InternalExceptionHandler {
> void handle(final TimeoutException e);
>
> void handle(final Exception e);
> }
Please, please, *please* do not use TAB characters to indent Usenet code posts!
Your post is virtually unreadable to Google Groups because for some odd reason GG eliminates all such indentation, and to real newsreaders because they expand TABs so widely.
Please, please, *please* only use spaces to indent code on Usenet (maximum indent 4 spaces per level).
Please. I really would have liked to read your code, but such a large example with munged indentation just isn't worth it.
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Lars Enderin <lars.enderin@telia.com> |
|---|---|
| Date | 2011-09-11 20:35 +0200 |
| Message-ID | <4E6CFF65.4060802@telia.com> |
| In reply to | #7809 |
2011-09-11 18:42, Lew skrev:
> Wanja Gayk wrote:
>> class ApplicationWorkerUtil {
>>
>> static interface InternalExceptionHandler {
>> void handle(final TimeoutException e);
>>
>> void handle(final Exception e);
>> }
>
> Please, please, *please* do not use TAB characters to indent Usenet code posts!
>
> Your post is virtually unreadable to Google Groups because for some odd reason GG eliminates all such indentation, and to real newsreaders because they expand TABs so widely.
>
> Please, please, *please* only use spaces to indent code on Usenet (maximum indent 4 spaces per level).
>
> Please. I really would have liked to read your code, but such a large example with munged indentation just isn't worth it.
>
I would copy the code and use Emacs to format it.
[toc] | [prev] | [next] | [standalone]
| From | Retahiv Oopsiscame <roopsisc@gmail.com> |
|---|---|
| Date | 2011-09-11 16:55 -0700 |
| Message-ID | <fdff724e-98f3-48e1-901e-c8e1d4ef111f@j19g2000yqc.googlegroups.com> |
| In reply to | #7814 |
On Sep 11, 2:35 pm, Lars Enderin <lars.hole@telia.com> wrote: > 2011-09-11 18:42, Lew skrev: Lew what? > I would copy the code and use Emacs to format it. Eww.
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2011-09-11 20:36 -0700 |
| Message-ID | <be222faf-4b16-4007-b31d-f81f1b07963a@glegroupsg2000goo.googlegroups.com> |
| In reply to | #7846 |
On Sunday, September 11, 2011 4:55:24 PM UTC-7, Retahiv Oopsiscame wrote: > On Sep 11, 2:35 pm, Lars Enderin <lars...@telia.com> wrote: > > 2011-09-11 18:42, Lew skrev: > > Lew what? Lew skrev. It says right there. It's short for «Lew skrev ett ganska smarta inlägg.» >> I would copy the code and use Emacs to format it. > > Eww. What, you like vi better? :-0 -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Lars Enderin <lars.enderin@telia.com> |
|---|---|
| Date | 2011-09-12 10:05 +0200 |
| Message-ID | <4E6DBD5D.6020604@telia.com> |
| In reply to | #7859 |
2011-09-12 05:36, Lew wrote: > On Sunday, September 11, 2011 4:55:24 PM UTC-7, Retahiv Oopsiscame wrote: >> On Sep 11, 2:35 pm, Lars Enderin <lars...@telia.com> wrote: >>> 2011-09-11 18:42, Lew skrev: >> >> Lew what? > > Lew skrev. It says right there. > > It's short for «Lew skrev ett ganska smarta inlägg.» (Not quite: s/smarta/smart/.) I sometimes forget to replace the Swedish word in attributions. >>> I would copy the code and use Emacs to format it. >> >> Eww. > > What, you like vi better? > > :-0 The nym-shifter gives us hints to his true identity: Hates Lisp. Hates Emacs. Hates vi. Who could that be?
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2011-09-12 15:35 -0700 |
| Message-ID | <e1916ba8-7361-42f3-968e-55a48332ee8f@glegroupsg2000goo.googlegroups.com> |
| In reply to | #7865 |
Lars Enderin wrote: > Lew wrote: >> Retahiv Oopsiscame wrote: >>> Lars Enderin wrote: >>>> Lew skrev: >>> >>> Lew what? >> >> Lew skrev. It says right there. >> >> It's short for «Lew skrev ett ganska smarta inlägg.» > > (Not quite: s/smarta/smart/.) I sometimes forget to replace the Swedish > word in attributions. My apologies. I don't speak Swedish, so I used Google Translate to make my joke. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Lars Enderin <lars.enderin@telia.com> |
|---|---|
| Date | 2011-09-13 10:35 +0200 |
| Message-ID | <4E6F15BC.8050207@telia.com> |
| In reply to | #7922 |
2011-09-13 00:35, Lew wrote: > Lars Enderin wrote: >> Lew wrote: >>> Retahiv Oopsiscame wrote: >>>> Lars Enderin wrote: >>>>> Lew skrev: >>>> >>>> Lew what? >>> >>> Lew skrev. It says right there. >>> >>> It's short for «Lew skrev ett ganska smarta inlägg.» >> >> (Not quite: s/smarta/smart/.) I sometimes forget to replace the Swedish >> word in attributions. > > My apologies. I don't speak Swedish, so I used Google Translate to make my joke. You're excused. Other clues to the identity of the nym-shifter are his idiotic rewrite of my email address and the way he reacts to foreign words. And he practically confirms his identity in later comments.
[toc] | [prev] | [next] | [standalone]
| From | Retahiv Oopsiscame <roopsisc@gmail.com> |
|---|---|
| Date | 2011-09-13 09:48 -0700 |
| Message-ID | <19a1f215-7fa0-434e-a517-c260f600b495@l10g2000yqe.googlegroups.com> |
| In reply to | #7965 |
On Sep 13, 4:35 am, Lars Enderin <lars.hole...@telia.com> wrote: > 2011-09-13 00:35, Lew wrote: > > Lars Enderin wrote: > >> Lew wrote: > >>> Retahiv Oopsiscame wrote: > >>>> Lars Enderin wrote: > >>>>> Lew skrev: > > >>>> Lew what? > > >>> Lew skrev. It says right there. > > >>> It's short for «Lew skrev ett ganska smarta inlägg.» > > >> (Not quite: s/smarta/smart/.) I sometimes forget to replace the Swedish > >> word in attributions. > > > My apologies. I don't speak Swedish, so I used Google Translate to make my joke. > > You're excused. Other clues to the identity of the [implied insult > deleted] are his [insult deleted] rewrite of my email address No. None of the nasty things that you have said or implied about me are at all true. > and the way he reacts to foreign words. This is an English-language newsgroup. > And he practically confirms his identity in later comments. I never concealed it.
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2011-09-13 12:18 -0700 |
| Message-ID | <01800269-aca5-465f-af39-d3136a60e516@glegroupsg2000goo.googlegroups.com> |
| In reply to | #7978 |
Retahiv Oopsiscame wrote: > No. None of the nasty things that you have said or implied about me > are at all true. Plonk.
[toc] | [prev] | [next] | [standalone]
| From | Retahiv Oopsiscame <roopsisc@gmail.com> |
|---|---|
| Date | 2011-09-13 17:30 -0700 |
| Message-ID | <9f8cb12e-73ed-4db6-ad9b-39a38fc4ef60@u19g2000vbm.googlegroups.com> |
| In reply to | #7984 |
On Sep 13, 3:18 pm, Lew <lewbl...@gmail.com> wrote: > Retahiv Oopsiscame wrote: > > No. None of the nasty things that you have said or implied about me > > are at all true. > > [implied insult deleted]. None of the nasty things that you have said or implied about me are at all true.
[toc] | [prev] | [next] | [standalone]
| From | Retahiv Oopsiscame <roopsisc@gmail.com> |
|---|---|
| Date | 2011-09-12 21:59 -0700 |
| Message-ID | <98ab45c0-2a9e-4f09-8e11-d128d6ebe206@1g2000vbu.googlegroups.com> |
| In reply to | #7865 |
On Sep 12, 4:05 am, Lars Enderin <lars.hole...@telia.com> wrote: > The [implied insult deleted] gives us hints to his true identity: > Hates Lisp. Hates Emacs. Hates vi. > Who could that be? None of the nasty things that you have said or implied about me are at all true.
[toc] | [prev] | [next] | [standalone]
| From | Joe Attardi <jattardi@gmail.com> |
|---|---|
| Date | 2011-09-23 10:54 -0700 |
| Message-ID | <d12800ad-543a-46a7-85d8-fbefa0d2b1b8@y6g2000yqc.googlegroups.com> |
| In reply to | #7958 |
On Sep 13, 12:59 am, Retahiv Oopsiscame <roops...@gmail.com> wrote: > None of the nasty things that you have said or implied about me are at > all true. Holy cow! This guy hasn't changed one bit (except a new fake name, I see). Paul Derbyshire! It's been years! Still trolling well, I see.
[toc] | [prev] | [next] | [standalone]
Page 5 of 10 — ← Prev page 1 … 3 4 [5] 6 7 … 10 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web