Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
571.
▲
by
vorg
10y ago
> I use Groovy/Grails and love it, and can hire Java/Spring people Which version of Grails is that? I've heard virtually no-one's upgraded to version 3 since it came out, and not many people are starting new Grails pr
572.
▲
by
vorg
10y ago
Many of those names are just short-forms for a full name, e.g. "Microsoft C#", "Python 2", "Apache Groovy", "C Shell", "Common Lisp".
573.
▲
by
vorg
10y ago
People who came to Go from Python, JavaScript, and Ruby will likely have had a steepish learning curve getting used to pointers in Go. I hadn't used pointers since programming in C++ in 1995 when I switched to Go, and it took a bit of
574.
▲
by
vorg
10y ago
Perhaps combine the benefits of both the 'former style' and 'later style' into one -- use actual Chinese so it's still readable by most of the world's programmers (who live in China) but also utilizes the short
575.
▲
by
vorg
10y ago
Many of those short names are keywords (or pre-defined identifiers) in many programming languages, e.g. string, close, print, copy in Go. Having to use another name instead can also be difficult.
576.
▲
by
vorg
10y ago
That's never going to be sorted out because Oracle intended it that way. Like in 2011, just after they bought Sun, they started bundling payment-required components (e.g. JavaSE Advanced) in their supposedly "free" (as in b
577.
▲
by
vorg
10y ago
I guess it makes sense that the people still using a decaying language like Apache Groovy would be the same people slow to switch to a better OS.
578.
▲
by
vorg
10y ago
Ditto with Apache Groovy, which started off as a dynamically typed language to complement Java. The original use case for Groovy was to use it when performance doesn't matter (e.g. scripting, testing, glue code) and Java (or some other
579.
▲
by
vorg
10y ago
Maybe you don't like Grumpy as a name. I think it was named after NumPy (pr. ˈnʌmpaɪ) so I guess it's pronounced ˈgrʌmpaɪ rather than ˈgrʌmpi: Around 2011 the beta releases of the static typing additions to Apache Groovy were call
580.
▲
by
vorg
10y ago
Perhaps Golang will get a VM or something similar to enable stuff like exec/eval to be implemented with rapid response times in Grumpy. The only way I've ever seen a REPL implemented for Go is by recompiling the source code via a
581.
▲
by
vorg
10y ago
> I'd tend towards Clojure. If OO was a strict requirement then Groovy or Scala Use Scala for building systems that actually require the OO structure. Use Apache Groovy for glue code and tests, and other scripty stuff like build scr
582.
▲
by
vorg
10y ago
Don't forget that languages with high stars could be the result of marketing. The "project manager" for one of these programming languages held a campaign on its mailing lists 2 years ago to increase the number of Github star
583.
▲
by
vorg
10y ago
Any code that's not tested has bugs. As for reading code, when I read yours I can't work out why you put .filter{l, i -> i < 1 || lines[i - 1] != 'a'} instead of .filter{l, i -> i < 1 || lines[i -
584.
▲
by
vorg
10y ago
> cultural neutrality is a fiction because all auxlangs inevitably reflect the culture of their inventors Good examples would be the immediately preceding examples of vocabulary simplification: > the equivalents of “good,” “better,” a
585.
▲
by
vorg
10y ago
> def parsedLines = lines.withIndex().filter{l, i -> i < 1 || lines[i - 1] != 'a'}.collect{parseLine(it)} In that Apache Groovy sample, you put an `l` as the first parameter to the `filter` but don't use it a
586.
▲
by
vorg
10y ago
It only takes a single first thought by an intelligence to observe the Universe. Everything occurring up to then (e.g. nucleii, carbon, brains) is highly unlikely and therefore many people suggest an Anthropic Principle to explain it. Once
587.
▲
by
vorg
10y ago
The Final Anthropic Principle follows naturally from the Weak/Strong Anthropic Principle. Once intelligence has evolved and observed the Universe with a single first thought, why didn't it then die out? Of course the definition of
588.
▲
by
vorg
10y ago
Those languages complement Java on the JVM to varying degrees. Kotlin and Scala were built to progressively replace Java in a codebase. Clojure was built for the JVM as its first target architecture. Apache Groovy was originally to script J
589.
▲
by
vorg
10y ago
Apache Groovy also has "undocumented features", e.g. from your scripts: matchingSecret = secrets.find { secret -> secret.id == id } can be written as: matchingSecret = secrets.find { it.id == id } Those scripts lo
590.
▲
by
vorg
10y ago
Scala and Apache Groovy benefit from the JVM's backwards compatibility, but programmers can't benefit from backwards compatibility in those languages. Groovy even broke compatibility between various 1.x releases.
591.
▲
by
vorg
10y ago
Since Gradle 3, Kotlin is the preferred language for writing build scripts and addins, rather than just Apache Groovy. If you use Kotlin instead of Java for your Android coding, you can use the same language for writing your build scripts a
592.
▲
by
vorg
10y ago
Unlike @jetti and @mindcrime, I would use the opportunity of a green fields project to switch to and learn a more suitable industry-accepted language such as Python instead of a declining language that I happen to know better like the agein
593.
▲
by
vorg
10y ago
I remember Apache Groovy's use of the verb def to match the verbs and adverbs of the other statement-level keywords (e.g. switch , if , while , return ) instead of a noun like any to match the type names it stands in for (e.g.
594.
▲
by
vorg
10y ago
> Groovy isn't "cool" these days, so I guess there's not much marketing juice in comparing your new language to it I think of Apache Groovy as being to the JVM what bash is to Linux. You could compare it to bash.
595.
▲
by
vorg
10y ago
People like Edward Snowden, Julian Assange, Kim Dotcom, Chelsea Manning, and Aaron Schwartz are making history, not fading into it, as they fight for human rights and freedom in the new information-based age.
596.
▲
by
vorg
10y ago
> I'm trying to figure out if I have missed something when I dismissed Gradle last time Which version of Gradle were you using last time? Gradle 3.0, released 3 months ago, offers Kotlin as the preferred language for scripting build
597.
▲
by
vorg
10y ago
Hope you're using Kotlin (rather than Apache Groovy) to write your Gradle scripts, since you're using it to build Kotlin code.
598.
▲
by
vorg
10y ago
For those interested... 《鹿柴》 空山不见人, 但闻人语响。 返影入深林, 复照青苔上。
599.
▲
by
vorg
10y ago
> between 2008 and 2010, I was training Java developers at Circuit City on Groovy and Grails. These folk were mostly late 20s and early 30s, and they were just fine sticking with good-old, write-everything-yourself, don’t-bother-with-fra
600.
▲
by
vorg
10y ago
Kotlin's backed by Jetbrains which makes IntelliJ which many Java developers have heard of, whereas Apache Groovy was dropped by Pivotal which also still backs Spring. I imagine more and more software which enables Groovy for scripting
More ›