Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Reinier Zwitserloot
Yes, you're right, I should have mentioned market push. It's rather likely (to me, anyway) that java gained quite a bit of traction due to Sun's cheerleading of it, along with the uptake by i.e. IBM relatively early on. Google adopts or makes a new programming language to replace java for

Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Reinier Zwitserloot
Yes, you're right, I should have mentioned market push. It's rather likely (to me, anyway) that java gained quite a bit of traction due to Sun's cheerleading of it, along with the uptake by i.e. IBM relatively early on. Google adopts or makes a new programming language to replace java for

[The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Phil
On Mar 22, 6:08 pm, Cédric Beust ♔ ced...@beust.com wrote: That's a horrifyingly condescending quote making fun of people who actually ship software. Worse still it is making the assumption that the people who have to implement the design are able to influence it. There are people out there

[The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Phil
Regarding the post as discussing only low-level design I don't completely disagree. At a low level (decomposition of components into classes, getting assignment of responsibilities and encapsulation correct, and so on) it doesn't matter how good the higher level design is. To produce bad code is

[The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Phil
I'm left-biased ambidextrous (except for writing) and the only problem I have driving on the right is remembering to go to the right car door first thing in the morning ;-) On Mar 22, 10:01 pm, Cédric Beust ♔ ced...@beust.com wrote: 2011/3/22 Ricky Clarkson ricky.clark...@gmail.com Let me

[The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Phil
On Mar 22, 10:06 pm, Kevin Wright kev.lee.wri...@gmail.com wrote: On 22 Mar 2011 21:37, Ricky Clarkson ricky.clark...@gmail.com wrote: Let me rephrase part of that exchange for a subject probably none of us is emotional about:   Repeated case studies have shown time and time again that

[The Java Posse] Re: Amazon 'try before you buy' Android apps

2011-03-23 Thread Phil
Well I can browse the store but it is currently only available to US customers. Including, I assume, the try before you buy element which I couldn't find. On Mar 22, 9:31 am, Phil p...@surfsoftconsulting.com wrote: I've just been pointed to a techcrunch post  

Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Ricky Clarkson
Italy? I'm nowhere near there but let's just say that yesterday I saw a diversion around roadworks.. onto the pavement. On Wed, Mar 23, 2011 at 8:11 AM, Phil p...@surfsoftconsulting.com wrote: On Mar 22, 10:06 pm, Kevin Wright kev.lee.wri...@gmail.com wrote: On 22 Mar 2011 21:37, Ricky

[The Java Posse] Re: Amazon 'try before you buy' Android apps

2011-03-23 Thread haocheng
ya... It's US only now. I tried to download free Angry Birds app but I cannot ;) On 3月23日, 下午8時36分, Phil p...@surfsoftconsulting.com wrote: Well I can browse the store but it is currently only available to US customers. Including, I assume, the try before you buy element which I couldn't find.

Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Josh Berry
On Wed, Mar 23, 2011 at 2:43 AM, Reinier Zwitserloot reini...@gmail.com wrote: Yes, you're right, I should have mentioned market push. It's rather likely (to me, anyway) that java gained quite a bit of traction due to Sun's cheerleading of it, along with the uptake by i.e. IBM relatively early

[The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Phil
I drove a hire car there for two weeks. Italians have two speeds - one of them is 'stationary'. As a foreigner you either crawl along the side of the road or drive at their speed. I had never seen ambulances so frequently outside a town before or since. I was overtaken on numerous occasions in the

Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Kevin Wright
On 23 March 2011 14:32, Josh Berry tae...@gmail.com wrote: On Wed, Mar 23, 2011 at 2:43 AM, Reinier Zwitserloot reini...@gmail.com wrote: Yes, you're right, I should have mentioned market push. It's rather likely (to me, anyway) that java gained quite a bit of traction due to Sun's

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Russel Winder
On Mon, 2011-03-21 at 19:02 -0700, mP wrote: The simple explaination being that most professors in universities, cant get a real job so most dont really know what they are talking about. If this is the attitude people are going to have and express it's no wonder the world is a totally f$$$ed

Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread Cédric Beust ♔
On Wed, Mar 23, 2011 at 7:32 AM, Josh Berry tae...@gmail.com wrote: I simply meant more that I feel like Android is pulling in more new java developers than any other technology out there at the moment. You have no idea how happy it makes me to read this. In the early days of Android, I

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Russel Winder
On Mon, 2011-03-21 at 20:22 -0700, Cédric Beust ♔ wrote: [ . . . ] It looks like whoever made that decision has a pretty big chip on their shoulder and it's pretty clear from that sentence alone that students going to his/her class will get a pretty incomplete and biased picture. [ . . . ]

[The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Carl Jokl
Maybe the UK University system will be bought out by Tesco. All hail Tesco. I remember the 80's and by golly they were awesome and we are not talking the regular kind of awesome rather the double fireball attack, laser dynamite rocket underpants ninja nuclear plasma war rabbit kind of awesome.

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Russel Winder
On Wed, 2011-03-23 at 10:18 -0700, Carl Jokl wrote: Maybe the UK University system will be bought out by Tesco. All hail Tesco. Like Macdonald's bought the USA school system? I remember the 80's and by golly they were awesome and we are not talking the regular kind of awesome rather the

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Alexey Zinger
This seems like such a strange thing. We're talking about computer science and engineering, not exactly liberal arts stuff. I understand that many of us feel passionate about technology, mathematical elegance and all of that, but the moment I start to take sides in a paradigm war on the basis

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Chris Phelps
What makes you think science is not full of personal allegiance, politics, and paradigm wars? A friend of mine is a professor in a scientific field, and he's constantly dealing with these kinds of issues derailing new findings and new interpretations. Chris On Wed, Mar 23, 2011 at 2:09 PM,

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Russel Winder
On Wed, 2011-03-23 at 11:09 -0700, Alexey Zinger wrote: This seems like such a strange thing. We're talking about computer science and engineering, not exactly liberal arts stuff. I understand that many of us feel passionate about technology, mathematical elegance and all of that, but the

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Alexey Zinger
No doubt, it goes on. I just don't understand it. Alexey From: Chris Phelps cjph...@gmail.com To: javaposse@googlegroups.com Sent: Wed, March 23, 2011 2:23:04 PM Subject: Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Kevin Wright
On 23 March 2011 17:05, Russel Winder rus...@russel.org.uk wrote: On Mon, 2011-03-21 at 20:22 -0700, Cédric Beust ♔ wrote: [ . . . ] It looks like whoever made that decision has a pretty big chip on their shoulder and it's pretty clear from that sentence alone that students going to

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Cédric Beust ♔
On Wed, Mar 23, 2011 at 1:23 PM, Russel Winder rus...@russel.org.uk wrote: Unlike Java which chose to ignore iterators à la C++ -- another paradigm war but this one was fought in the late 1990s. First of all, before the enhanced for loop came out, Java was using iterators pretty much

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Josh Berry
2011/3/23 Cédric Beust ♔ ced...@beust.com: Or are you referring to something else? I think he is referring to the fact that iterators were not an original part of the collections framework. -- You received this message because you are subscribed to the Google Groups The Java Posse group. To

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Alexey Zinger
That doesn't seem right. java.util.Iterator and the rest of the collections stuff (java.util.Collection) both date back to Java 1.2. Before that, there was java.util.Enumeration. Is that what you mean? Alexey From: Josh Berry tae...@gmail.com To:

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Josh Berry
Yeah, and I was just guessing at what the other poster meant. :) -- You received this message because you are subscribed to the Google Groups The Java Posse group. To post to this group, send email to javaposse@googlegroups.com. To unsubscribe from this group, send email to

Re: [The Java Posse] Re: Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum

2011-03-23 Thread Kevin Wright
On 23 Mar 2011 20:53, Cédric Beust ♔ ced...@beust.com wrote: On Wed, Mar 23, 2011 at 1:23 PM, Russel Winder rus...@russel.org.uk wrote: Unlike Java which chose to ignore iterators à la C++ -- another paradigm war but this one was fought in the late 1990s. First of all, before the

[The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread phil swenson
I never thought I'd see anything useful on an OSGi blog, but today I saw this: http://www.osgi.org/blog/2011/03/exception-hygiene.html So if you accept that CheckedExceptions are a bad idea... read the comments on this post. There is a debate as to how to handle the atrocity that the

Re: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread Kevin Wright
On 23 Mar 2011 21:43, phil swenson phil.swen...@gmail.com wrote: I never thought I'd see anything useful on an OSGi blog, but today I saw this: http://www.osgi.org/blog/2011/03/exception-hygiene.html So if you accept that CheckedExceptions are a bad idea... read the comments on this post.

Re: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread Cédric Beust ♔
On Wed, Mar 23, 2011 at 2:43 PM, phil swenson phil.swen...@gmail.comwrote: I never thought I'd see anything useful on an OSGi blog, but today I saw this: http://www.osgi.org/blog/2011/03/exception-hygiene.html So if you accept that CheckedExceptions are a bad idea... read the comments on

Fwd: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread phil swenson
Opps, somehow dropped the javaposse group post on this. -- Forwarded message -- From: phil swenson phil.swen...@gmail.com Date: 2011/3/23 Subject: Re: [The Java Posse] How to deal with CheckedExceptions To: Cédric Beust ♔ ced...@beust.com Thanks for the Lazy comment. You can

Fwd: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread Cédric Beust ♔
2011/3/23 phil swenson phil.swen...@gmail.com Thanks for the Lazy comment. You can handle Exceptions even if they are RuntimeExceptions Of course, but since the compiler no longer enforces it, they are easy to miss and to ignore. I much prefer the compiler getting into my face to remind me

Re: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread phil swenson
The argument boils down to to costs vs benefits. All the checked exception haters think the costs greatly out-weigh the benefits. Costs: 1) PITA 2) Your interfaces break every time you introduce a new exception. 3) They don't scale (rippling effect can easily get out of hand) That and lead to a

[The Java Posse] Re: How to deal with CheckedExceptions

2011-03-23 Thread mP
If you want to catch checked and rethrow wrapped up but hate the long and messy stacktraces you can simply solve this by copyin the stack elements from the checked to the wrapped. -- You received this message because you are subscribed to the Google Groups The Java Posse group. To post to

[The Java Posse] Re: How to deal with CheckedExceptions

2011-03-23 Thread mP
Thread.currentThread().stop(cause); lets you throw checked exceptions -- You received this message because you are subscribed to the Google Groups The Java Posse group. To post to this group, send email to javaposse@googlegroups.com. To unsubscribe from this group, send email to

[The Java Posse] JDK 8 planning

2011-03-23 Thread Serge Boulay
Looks like Oracle has started planning for JDK 8 and they are accepting proposals for language features (big and small). http://mail.openjdk.java.net/pipermail/discuss/2011-March/001704.html It's time to start thinking about planning JDK 8. We already know what some of the big-ticket items are

Re: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread Kevin Wright
It's quite simple... If there's something that can happen in your method, and the caller *explicitly* needs to deal with it, then there's a technique for dealing with that... It's commonly known as a return value. Yes, some form of Maybe or Either type combined with lambdas makes this sort of

Re: [The Java Posse] How to deal with CheckedExceptions

2011-03-23 Thread Josh Berry
2011/3/23 Cédric Beust ♔ ced...@beust.com: The important part is understanding that you need both runtime and checked exceptions. The hard part is knowing when to choose checked, and the authors of the JDK made some terrible mistakes in that area which have given the entire concept a very bad

Re: [The Java Posse] Re: From Scala, back to Java

2011-03-23 Thread mP
Dont forget that left v right only exists in cars, for planes and ships everything drives on the left side of the road etc. Perception is everything. -- You received this message because you are subscribed to the Google Groups The Java Posse group. To post to this group, send email to

[The Java Posse] Re: Is learning languages overrated?

2011-03-23 Thread mP
All the more reason to not sub class. -- You received this message because you are subscribed to the Google Groups The Java Posse group. To post to this group, send email to javaposse@googlegroups.com. To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com. For