Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
691.
▲
by
vorg
10y ago
Simplication (caused by internationalization) and diversification (caused by localization) are two ends of a spectrum, but languages, both their spoken and written forms, have bounced between those ends throughout history. In a century or t
692.
▲
by
vorg
10y ago
Gradle 3.0, due out soon, will provide Kotlin as an alternative language for writing build scripts, so you'll be able to use a single language for development, as you did when you used Scala with SBT.
693.
▲
by
vorg
10y ago
> users.map {|u| "(" + u.first_name + ")" } If you need to specify the "u" in order to re-use it in one place only, then your language is syntactically challenged. Use a better language instead of caring abo
694.
▲
by
vorg
10y ago
> Perhaps they groovy or scala You're using Apache Groovy as a counter-example to PHP blowing? Groovy's the PHP equivalent in the JVM world, the sloppy partner to the more exacting Scala, Clojure, and Kotlin. Since its first re
695.
▲
by
vorg
10y ago
It's a pity Apache Groovy's ongoing governance problems stopped it achieving a similar goal. Groovy's still great, though, for writing quick'n'dirty scripts for testing Java classes and defining builds, and Grails s
696.
▲
by
vorg
10y ago
> for (minion in party) { > Just little things like not having 'for (var minion in party)'. It clears the clutter. Would be even less cluttered if it allowed for minion in party { minion.jumpToTheLeft() }
697.
▲
by
vorg
10y ago
> The groovy compiler supports including source code line numbers and variable names in compiled jar files I haven't used Groovy since v 1.8, and certainly didn't know about this facility then. > why would you expect that Gr
698.
▲
by
vorg
10y ago
Apache Groovy (around v 1.0 or 1.5) used to produce bytecode that could easily be decompiled to Java code, but since version 1.6, the bytecode generated was changed so it couldn't be decompiled with the tool I was using at the time --
699.
▲
by
vorg
10y ago
> the whois database is just plain wrong :) The ASF owns and manages groovy-lang.org If there's no record in whois, then it would be more useful to say since when ASF has owned groovy-lang.org, and how one can check. > be usefu
700.
▲
by
vorg
10y ago
I didn't know much about the ASF until they took in (Apache) Groovy last year, into the incubator in May and as a top-level project in November. ASF bent or broke many of their standards to accommodate Groovy... Most Groovy links at ap
701.
▲
by
vorg
10y ago
> why can't a group of programmers just copy the design of Rails to Java? [...] as of now, there is still no decent web framework for Java that is as easy to use as Ruby on Rails. Why is that? [...] Well, simply, because they can&#x
702.
▲
by
vorg
10y ago
> It can execute programs written in most JVM languages, including Java, Clojure, Scala, JRuby, and Jython, since it can run those languages out of their JAR files. I'm wondering about Kotlin and Apache Groovy -- perhaps they can&#x
703.
▲
by
vorg
10y ago
Apache Groovy's dynamic typing, closures, and shorthand collection syntax (from v. 1.0) are great for testing and playing with Java classes, and I'm told Groovy's Ruby-like MOP is useful for Grails developers, but the stuff a
704.
▲
by
vorg
10y ago
The article does say: > You’ll find that, suddenly, the things you usually expect from your IDE just work
705.
▲
by
vorg
10y ago
> The sum of popularities for these three would tie with Groovy at #18 You said " highly flawed TIOBE index". Look at http://www.tiobe.com/tiobe_index?page=Groovy and notice the sudden jump from 0.33% in Nov 2
706.
▲
by
vorg
10y ago
> it demonstrated this by showing that there is no contradiction if you take in account nonlocality The article suggests pilot-wave theory "apparently" contradicts special relativity. We know the other interpretations "onl
707.
▲
by
vorg
10y ago
I don't like having to use a different language (i.e. Apache Groovy) to write build scripts when using Gradle with Scala. With SBT, I write Scala to build Scala, see [1]. I can see why someone would use Groovy to build a Groovy project
708.
▲
by
vorg
10y ago
> how many devs really grok the Android gradle plugin and feel comfortable just writing tasks themselves without carefully copying/pasting That plugin uses Apache Groovy for its syntax, though in reality only a tiny non-Turing Compl
709.
▲
by
vorg
10y ago
I moved from Apache Groovy to Clojure for writing tests for my own software about 5 years ago. A single limited-range macro can cut out a lot of repetitive syntax of the sort found in repetitive test cases. A one-line Clojure macro can easi
710.
▲
by
vorg
10y ago
> Spock is that it’s basically a DSL (domain specifing language) for writing tests. It’s based on Groovy I don't like the way Spock hacks Groovy's syntax for its DSL. The "expect" and "where" are actually la
711.
▲
by
vorg
10y ago
Groovy originally never had static typing, but was only a dynamic typed complement to Java's static typing. It worked best for this purpose (e.g. testing and manipulating Java classes, scripting in Grails, a DSL for build scripts in Gr
712.
▲
by
vorg
10y ago
> I remember there was some very very bitter Groovy evangelist a while ago Apache Groovy has always been good for scripting stuff on the JVM, including for Grails and as a DSL for Gradle. Unfortunately, one of its backers tried to retrof
713.
▲
by
vorg
10y ago
Looks like a similar situation with Apache Groovy. Only "grails" and "gradle" are in there.
714.
▲
by
vorg
10y ago
Apache Groovy is a dynamically typed language so performance can't be "top notch". And the static compilation is an addon that only works when used sparsely. If it worked at scale, the Groovy codebase itself would have been t
715.
▲
by
vorg
10y ago
My last personal experience of programming in Apache Groovy was with version 1.8. Often I tried recompiling some Java code from Groovy's codebase into Groovy, and even after changing it to allow for occasionally different semantics, it
716.
▲
by
vorg
10y ago
> the 1.5 million code line application written in groovy That's quite big for Groovy. There's a lot of exaggerated claims coming out of that ecosystem. Most JVM apps that size are actually written in Java, perhaps with the cod
717.
▲
by
vorg
10y ago
There's large-scale fraud by the Apache Groovy ecosystem also. Downloads from the Bintray repository mostly come as redirects from the groovy-lang.org website hosted somewhere in Germany, and the owner of that domain has a history of f
718.
▲
by
vorg
10y ago
> “We're considering banning domains that require users to disable ad blockers” (reddit.com) It should be obvious before I click the front-page link on HN that it's about /r/technology only, not reddit as a whole. Tha
719.
▲
by
vorg
10y ago
The static compilation doesn't quite work properly. Groovy is good for scripting though, similar to the way Bash is used in Linux, so test your Java classes with it, or use it as a DSL in Gradle builds. For building systems on the JVM,
720.
▲
by
vorg
10y ago
> you get the full power of the JVM/Spring technology stack. And Groovy If Groovy and Grails are technology "to dream about", one wonders then why VMware (the Spring backers) retrenched their 6 developers working on Grails
More ›