News for hackers. Stuff that matters.
Re:Ask HN: Which programming language do you enjoy writing t... by zmmmmm on Saturday July 20, 2019 @08:15PM (#20489135)
I enjoy Groovy.

It's a passport to the JVM that has all the advantages of Python and few of its downsides. The philosophy is a unique combination of being incredibly developer friendly (kitchen sink APIs etc, every syntactical convenience you can imagine thrown in), but in every other aspect being ruthlessly Java-syntax compatible. You get both dynamic and static typing rolled in, super powerful AST transforms that give you static-compile-time metaprogramming capabilities other languages struggle to achieve. Yet it competes with Bash for single-line utility scripts.

Re:Ask HN: Which programming language do you enjoy writing t... by protonimitate on Monday July 22, 2019 @06:43PM (#20502972)
I love love love groovy.

Unfortunately my current team pushes hard against it because apparently its "java but not strongly typed" and therefore inferior.

The collection utils are great ( [].collate is a personal fave ).

Re:Ask HN: Which programming language do you enjoy writing t... by vorg on Sunday July 21, 2019 @05:14PM (#20493712)
Apache Groovy's apparent rise from #81 to #15 on Tiobe's index [1] over the past 12 month is disturbing, though. If it doesn't have the downsides of Python, then why would someone fabricate its popularity in a search engine?

And if Groovy is so "ruthlessly" Java-syntax compatible, why doesn't it have lambda syntax over 5 yrs after they were added to Java?

[1] https://www.tiobe.com/tiobe-index/

Re:Ask HN: Which programming language do you enjoy writing t... by zmmmmm on Sunday July 21, 2019 @07:04PM (#20494244)
You seem to be leaping to a lot of conclusions and making a lot of assumptions based on conjecture as the premise for your questions. It would be off topic and probably pointless to pursue them.
Re:Ask HN: Which programming language do you enjoy writing t... by fastbmk on Sunday July 28, 2019 @02:37PM (#20549102)
You are wrong. Groovy had lambdas even before Java 8. Netflix used Groovy only because of that exact feature.
Re:Ask HN: Which programming language do you enjoy writing t... by vorg on Sunday July 28, 2019 @06:04PM (#20550072)
No, I am right, because I didn't say Apache Groovy didn't have lambdas, I said it still didn't have the Java 8 lambda syntax in response to the comment that Groovy was so "ruthlessly" Java-syntax compatible. So you are wrong about me being wrong.

> Netflix used Groovy

Does Netflix still use Groovy? You make it sound like they no longer use it for new coding projects. If they do, you should have written "Netflix uses Groovy" and said what they still use it for.