Live data from Hacker News

The Groovy project is looking for a new home

glaforge.appspot.com

41–50 of 72 posts

Re: The Groovy project is looking for a new home

#41
post #29
post #27

Earlier quoted context omitted.

> The fact remains, though, that whatever strengths Groovy has as a language it has struggled to gain significant traction Compared to what? JRuby? Groovy's adoption, from the number's I've seen, walks all over JRuby's. It's just that the Java world is not fashionable (besides say Clojure) and you don't often hear from the people who use Groovy in their enterprise projects, whereas 10 startups using the language-du-j…

No, but you do get presentations at local JUG and those have been pretty empty of Groovy content in the last years.

I think people that go to JUGs and people that do enterprise development are entirely different species...

Re: The Groovy project is looking for a new home

#42
post #12

I know and use both Ruby/Rails and Groovy/Grails and wanted to debunk a myth here: "Interest in Grails/Groovy is diminishing" - I won't comment on trends but there is still a large, active user base and community I won't list the benefits of Ruby/Rails over Groovy/Grails because I will assume the audience here is familiar with Ruby/Rails. Specifically here are some benefits of Groovy over Ruby: - Very good JVM toolin…

I haven't used Groovy much, so I may be completely missing something here, but how is the elvis operator different from a simple guard in Ruby?

Based on the docs for elvis, it looks like

    potentiallyFalsyValue ?: safeDefault
is exactly equivalent to

    potentially_falsy_value || safe_default
in Ruby

Further, the null-safe operator seems to be the same as #try in Rails and overuse of either is probably a bit of a smell that you might be violating Tell Don't Ask

Re: The Groovy project is looking for a new home

#43
post #5

Props to what Guillaume has accomplished, but the original raison d'etre for Groovy existing has largely been supplanted by the rise of JRuby and Scala. When Groovy was initially developed JRuby was (arguably) not yet mature enough for production, so developers wanting to use Rails under the JVM were basically out of luck. Grails was developed in response to this need. Now that JRuby is more mature (and, as of today,…

NOPE. Ruby doesn't offer one of Groovy's killer features: optional static typing. And Scala... far too alien and complex. There was some talk out there by one of the original Scala dudes talking about how there are something like 30 different fundamental types in Scala. Groovy offers the most accessible functional programming paradigms to Java programmers. It is a sweet spot.

I loathe the "it's to hard" argument. I understand it, and it always makes sense. But it's like a drug. So many organizations fall prey to refusing to adapt until it's too late.

That said, it sounds like Groovy is a great fit for your organization.

Re: The Groovy project is looking for a new home

#44
post #12

I know and use both Ruby/Rails and Groovy/Grails and wanted to debunk a myth here: "Interest in Grails/Groovy is diminishing" - I won't comment on trends but there is still a large, active user base and community I won't list the benefits of Ruby/Rails over Groovy/Grails because I will assume the audience here is familiar with Ruby/Rails. Specifically here are some benefits of Groovy over Ruby: - Very good JVM toolin…

Sorry to turn this into a framework war, but as someone who made the move from Groovy/Grails to Scala/Play Framework, I can't imagine ever going back. Or in other words, my answer to "A or B?" is "C".

My experience with Scala Play was very different. Scala is an interminably difficult language fraught with pitfalls.

It's much easier to write unreadable Scala code than Groovy.

Re: The Groovy project is looking for a new home

#45
I like Groovy. The language has the ability to made some very, very nice DSLs (almost english-like).

But the buzz around Groovy has diminished. There's only so much room for the already crowded JVM ecosystem. It's great to have choice, but there's only X number of developers, X number of companies that can sponsor, X number of users that build a community.

I'd like to see a language like Groovy, but with some of the semantics of Clojure, and some optional typing. Maybe it's time for a reboot of the language.

Re: The Groovy project is looking for a new home

#46
post #35
post #12

I know and use both Ruby/Rails and Groovy/Grails and wanted to debunk a myth here: "Interest in Grails/Groovy is diminishing" - I won't comment on trends but there is still a large, active user base and community I won't list the benefits of Ruby/Rails over Groovy/Grails because I will assume the audience here is familiar with Ruby/Rails. Specifically here are some benefits of Groovy over Ruby: - Very good JVM toolin…

I've also used both languages a fair bit, but I've never used Grails (although I've played with it). Couple things to add to the pros/cons: > Developer friendly (Ruby has a number of syntax warts, e.g. elvis operator, null safe operator - just to start) syntax I would love to see the elvis operator and the null safe operator in Ruby, but I'd also like to see blocks in Groovy. An addition to the pros of Groovy: Intera…

Isn't the elvis operator || in ruby? see http://stackoverflow.com/a/7816041/613240

Re: The Groovy project is looking for a new home

#47
post #12

I know and use both Ruby/Rails and Groovy/Grails and wanted to debunk a myth here: "Interest in Grails/Groovy is diminishing" - I won't comment on trends but there is still a large, active user base and community I won't list the benefits of Ruby/Rails over Groovy/Grails because I will assume the audience here is familiar with Ruby/Rails. Specifically here are some benefits of Groovy over Ruby: - Very good JVM toolin…

I haven't used Groovy much, so I may be completely missing something here, but how is the elvis operator different from a simple guard in Ruby? Based on the docs for elvis, it looks like potentiallyFalsyValue ?: safeDefault is exactly equivalent to potentially_falsy_value || safe_default in Ruby Further, the null-safe operator seems to be the same as #try in Rails and overuse of either is probably a bit of a smell th…

It's subtle, but I think the difference is that in ruby when potentially_falsy_value is false you will get the safeDefault. But with ?: you would get the potentiallyFalsyValue as false. The only time you get safeDefault is when potentiallyFalsyValue is nil/null

Re: The Groovy project is looking for a new home

#48
post #41
post #29

Earlier quoted context omitted.

No, but you do get presentations at local JUG and those have been pretty empty of Groovy content in the last years.

I think people that go to JUGs and people that do enterprise development are entirely different species...

That was not at -all- my experience when I went to one in Atlanta. I and one other guy were the only ones in t-shirts; every single other person was in polo and khakis at least, with quite a few dress shirts and suits. Pretty sure it was mostly dominated by enterprise. Admittedly, that was my one and only experience with one; it was sufficiently enterprise-y and uninteresting for me that I never went back.

Re: The Groovy project is looking for a new home

#49
post #28
post #5

Props to what Guillaume has accomplished, but the original raison d'etre for Groovy existing has largely been supplanted by the rise of JRuby and Scala. When Groovy was initially developed JRuby was (arguably) not yet mature enough for production, so developers wanting to use Rails under the JVM were basically out of luck. Grails was developed in response to this need. Now that JRuby is more mature (and, as of today,…

> Given this I'm not particularly surprised to see Pivotal's decision here Pivotal's decision is likely based not only on what you see, but on what else they see but you can't. They can see trends and revenues before the rest of us can, like former SpringSource CEO Rod Johnson who jumped ship over to Scala. These are some concerns with Groovy I've blogged and commented about a lot over the past few years: * the failu…

If you're gonna trash talk Groovy, at least get your facts straight. Note: Static typing which has existed in Groovy forever.

Re: The Groovy project is looking for a new home

#50
post #49
post #28

Earlier quoted context omitted.

> Given this I'm not particularly surprised to see Pivotal's decision here Pivotal's decision is likely based not only on what you see, but on what else they see but you can't. They can see trends and revenues before the rest of us can, like former SpringSource CEO Rod Johnson who jumped ship over to Scala. These are some concerns with Groovy I've blogged and commented about a lot over the past few years: * the failu…

If you're gonna trash talk Groovy, at least get your facts straight. Note: Static typing which has existed in Groovy forever.

Static typing (both type-checking and compilation) was added to Groovy for version 2.0 released in June 2012.
Post reply on HN