Golo treats public static fields as function, so one could get the maximum value for an Integer
as
follows:
module samples.MaxInt local function max_int = { return java.lang.Integer.MAX_VALUE() } function main = |args| { println(max_int()) }
Given than most static fields are used as constants in Java, Golo does not provide support to change their values. This may change in the future if compelling general-interest use-cases emerge.