Kidnapping brains - Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-09 Thread Marco Faustinelli
Eric, Your phrase is a bit convoluted, but I understand that you respectfully believe that brains and jobs are being sequestered in environments where Java 7 isn't installed. Right? I respectfully disagree on various points: - Java 5/6 with Guava strikes a very good balance between programmer

[The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-09 Thread robogeek
I'm happy to say that JavaScript isn't solely trapped in the browser - it's available for server-side stuff. Specifically, Node.js (nodejs.org) I've written a book and am nearly finished with revision 2 on using Node (title: Node Web Development) ... Coming at the topic as a Java developer

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-08 Thread Marco Faustinelli
Well, in my day job it's Java 1.5 still. In any case it was meant as a joke. Seriously, I believe that for many Java programmers not exposed to FP at school (as it was for me) reasoning about anonymous inner classes was the road to understanding functions back in the time when java lambda

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-08 Thread Eric Jablow
On Sunday, April 7, 2013 5:49:22 AM UTC-4, Russel wrote: Who uses anonymous inner classes for functional programming in Java any more? Aren't you already using lambda expressions throughout your code? People whose customers still haven't installed Java 7, let alone Java 8. People whose

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-07 Thread Marco Faustinelli
My suggestion to Lenny is: stay away from all javascript OO-like features (just NEVER use new) for the first couple of months and explore modules and prototypes. The chance is big that you'll come to think that such an untyped language may be exploited better by leaving aside the traditional

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-07 Thread Russel Winder
On Sun, 2013-04-07 at 00:52 -0700, Marco Faustinelli wrote: […] programming. You may like it a lot if your Java is already going that way (I mean: you're already tweaking anonymous inner classes everywhere you can :-) Who uses anonymous inner classes for functional programming in Java any

[The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-07 Thread Lenny P
Thank you for all your help guys. -- You received this message because you are subscribed to the Google Groups Java Posse group. To unsubscribe from this group and stop receiving emails from it, send an email to javaposse+unsubscr...@googlegroups.com. To post to this group, send email to

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread John Ament
For anyone who's already comfortable with Java and writes their controllers, models, or even views in a java like way (e.g. Swing, JSF) Backbone.js may be a good alternative for the MVC stuff over angular. Your javascript looks a lot like Java with type inheritance safety, private vs public

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread Kevin Wright
Cedric's just biased in favour of angular because they use ng as a prefix :) Instead of e.g. liking the way it plays up to the characteristics of javascript and the DOM, rather than trying to shoehorn logic into a paradigm that doesn't quite fit. On 6 Apr 2013 13:59, John Ament

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread Cédric Beust ♔
On Sat, Apr 6, 2013 at 6:20 AM, Kevin Wright kev.lee.wri...@gmail.comwrote: Cedric's just biased in favour of angular because they use ng as a prefix :) That's offensive. Just because we settled out of court with Angular on an undisputed amount in addition to receiving royalties for each

[The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread Lenny P
This book is from 2010. Is it really relevant since so much time has passed? JavaScript: The Good Partshttp://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742 . -- You received this message because you are subscribed to the Google Groups Java Posse group. To unsubscribe

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread Jon Kiparsky
I don't think javascript itself has changed too very much in the last three years, although there have been lots of developments in libraries and whatnot. I suppose I should put in a word for reviewing the spec and getting down to the nitty-gritty. It's not my favorite language spec in the world

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread Kevin Wright
undisputed... are you sure you don't mean undisclosed? There must have been at least some disagreement over what percentage of their purchase price you claimed in royalties. On 6 April 2013 14:51, Cédric Beust ♔ ced...@beust.com wrote: On Sat, Apr 6, 2013 at 6:20 AM, Kevin Wright

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-06 Thread Nikhil Jagtap
The simplest and the easiest way to learn, http://www.tutorialspoint.com/javascript/index.htm Good Luck On Sun, Apr 7, 2013 at 12:08 AM, Kevin Wright kev.lee.wri...@gmail.comwrote: undisputed... are you sure you don't mean undisclosed? There must have been at least some

[The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-05 Thread Karsten Silz
On Friday, April 5, 2013 1:24:14 PM UTC-4, Lenny P wrote: Hi, Can anyone recommend a good book that explains JavaScript assuming someone knows Java? JavaScript: The Good Partshttp://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742 . -- You received this message

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-05 Thread Cédric Beust ♔
FYI this is a pretty technical book. I think that it takes a few days for a Java programmer to be reasonably fluent in Javascript, the really interesting stuff is not so much the language minutia but becoming familiar with the ecosystem (very similar to Java in that respect). My suggestions:

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-05 Thread Jon Kiparsky
Having looked at both, I'm not sure that there's a lot of connection. In fact, such a book would largely consist of sentences contining the phrase, in javascript, unlike in Java Javascript has a superficially similar structure, but it is almost entirely unlike java, and should probably be

Re: [The Java Posse] Re: Book - JavaScript for Java Programmers?

2013-04-05 Thread Lyle
I strongly agree with this viewpoint. In fact I think that the syntactic similarity to Java actively hinders people from learning how the language actually works. On Fri, Apr 5, 2013 at 7:55 PM, Jon Kiparsky jon.kipar...@gmail.com wrote: Having looked at both, I'm not sure that there's a lot