groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Almiray <>
Subject Re: About the enhanced version of `Properties`, i.e. `GProperties`
Date Tue, 06 Nov 2018 13:01:10 GMT
What I gather from this discussion so far:

1. Use a custom file extension ".gproperties" instead of "properties".
2. Disable code execution by default.
3. Do not use a System property to disable code execution, rather use a
constructor argument (may be final) and/or getter/setter.
4. Do not add GProperties to 2.5.4 as this constitutes a new feature on a
fix point release.

I still don't see a reason to add it just now to the standard Groovy
distribution (even on 3.x) as once added to "Groovy core" it will be hard
to remove if by some reason it causes havoc/confusion to Groovy users.
I'd still recommend testing the waters by releasing GProperties as a
standalone library. In time, once we have gathered feedback from actual
users we can determine if it makes sense to add it to "core" in a minor
just like it happened with the @TailRecurse AST transformation and the
Groovy macro method features.

This does not diminishes your work Daniel, I just don't want to see Groovy
continue down the path of becoming the next kitchen sink language.


Java Champion; Groovy Enthusiast
JCP EC Associate Seat
What goes up, must come down. Ask any system administrator.
There are 10 types of people in the world: Those who understand binary, and
those who don't.
To understand recursion, we must first understand recursion.

On Tue, Nov 6, 2018 at 12:40 PM Daniel.Sun <> wrote:

> Understood.
> I propose to use "gproperties" as file extension.
> Cheers,
> Daniel.Sun
> -----
> Daniel Sun
> Apache Groovy committer
> Blog:
> Twitter: @daniel_sun
> --
> Sent from:

View raw message