Earlier quoted context omitted.
Dropwizard is a bit heavy by Node standards. The health checks, in the NPM-style system, would be its own package. The configuration class would be its own package. Resources would be their own package. Liquibase or Freemarker wouldn't be built in, nor would JDBI. I think of Dropwizard much like express for node, and most of the "cool kids" in the node community think that that's just too much for a single library. I…
I'm sorry, I may have been misunderstood. I meant that Dropwizard exemplifies how you can pick and choose components, those atomic libraries, into a "framework" of your choosing. Dropwizard contains very little code. It's just an assembly of the parts you wished existed, and the proof that those parts already exist.
About PayPal's Node vs Java “fight”
161–170 of 216 posts
Re: About PayPal's Node vs Java “fight”
#162Earlier quoted context omitted.
I wonder if someone has written up comparisons on their productivity between the languages / frameworks. My previous job had me on the python stack (Pyramid / Mako / Sqlalchemy), which I loved, but have been on Java / Play! framework for the last 10 months. The one thing that has consistently surprised me is how productive I feel writing Java. Mainly, I notice I make far fewer mistakes / typos while coding; the IDE d…
>The one thing that has consistently surprised me is how productive I feel writing Java. I know exactly how you feel. I recently moved from a Java project to a Python one and felt a little amiss without the power that an IDE gives a statically typed language. The tooling for Python flat out sucks. And it pains me to say, as I love the language to death, but I do feel more productive in other languages. Whether or not…
Re: About PayPal's Node vs Java “fight”
#163Rule 1 : Louder the guest shouts of his honor, faster you should count your spoons.
Similarly if someone tells you about 50% savings just because you switched to some other technology you should be extremely skeptical. Besides those people who engage in `Node vs X` debate every now and then should spend some time educating themselves about compilers and interpreters to understand what makes some programming languages faster than others in certain circumstances.
Re: About PayPal's Node vs Java “fight”
#164I've had the misfortune of using the PayPal Java SDK to integrate PayPal credit card and Express payment into a web application. Based on that experience, I find it especially difficult to digest any opinion that PayPal has on Java. They may be experts on handling money, processing credit card payments, fraud prevention, and the like. (Or maybe not, given their reputation.) But their opinion on Java is about as meani…
Re: About PayPal's Node vs Java “fight”
#165Earlier quoted context omitted.
> how many C++ projects do that out there? Not as many as the Java counterpart. I'm not sure this is a good argument. Projects where performance is critical are coded in C/C++ , not in java ( browsers , AAA games , databases , servers , micro-controllers , oses... ). C/C++ programming is not about writing 'elegant' code with FactoryFactories , but performances. Even if it means using very basic data structures instea…
> Projects where performance is critical are coded in C/C++ , not in java ( browsers , AAA games , databases , servers , micro-controllers , oses... ). This is not true. C++ beats Java performance in constrained environments . On servers the situation is not so clear-cut. You see some really fast Java databases. And BTW, Java is better at inlining functions than C++, but C++ handily beats Java when it comes to contro…
Every environment is constrained. Devs just got lazy and scaling now means buying more machines instead of performance optimisation.
> You see some really fast Java database
That eat up way to much memory for little.
When you see popular java based os , tell me.
Re: About PayPal's Node vs Java “fight”
#166Earlier quoted context omitted.
Except that between the two, only the JVM is truly cross platform, Mono notwithstanding.
Really? How can I use JVM on iOS? Is there a good toolchain for Java -> native iOS?
Re: About PayPal's Node vs Java “fight”
#167Earlier quoted context omitted.
And some languages don't check types for you before running the code and it's almost 2014 now, can you imagine?
Ruby, Python, even PHP checks the types of values before executing operations on the values.
Re: About PayPal's Node vs Java “fight”
#168Earlier quoted context omitted.
Java has always been a good language if you ignored the ecosystem. The ecosystem is a large part of what defines a language though. You have to take care in how you define that ecosystem. I sometimes wonder if Node.js is making mistakes in the opposite direction as Java with their ecosystem these days.
A language IS its ecosystem. In 2013 java is a good platform .
Re: About PayPal's Node vs Java “fight”
#169I fantasize about rebuilding the java ecosystem. Create "JPM", don't allow anything from the old Maven system in it. Create a new "hip" minimalist framework that ignores everything about java and its notions of OOP. Basic dependency management handled NPM-style. Developers encourage to put everything in the same package for their own stuff, and everything is package level. Getters and setters and encapsulation and ja…
You've basically described C#: Getters, setters fixed? Check. Functional features? Check. Most crappy OO features fixed? Check. Trendy package system inspired by npm/apt-get/gems? Check. Healthy community with libraries replacing frameworks? Check. I'd recommend checking it out if you haven't already.
Re: About PayPal's Node vs Java “fight”
#170Earlier quoted context omitted.
Except that between the two, only the JVM is truly cross platform, Mono notwithstanding.
Really? How can I use JVM on iOS? Is there a good toolchain for Java -> native iOS?
In any case, JVM runs on more platforms than any others.