Is there any practical difference between either o...
# lucee
a
Is there any practical difference between either of these:
Copy code
// Foo.cfc
component {
	static {
		Foo::someVar = 0
	}
}
Copy code
// Foo.cfc
component {
	static {
		static.someVar = 0
	}
}
Or, that said, any idiomatic preference for one or the other.
z
The second one is better IMHO, as it's self contained / referential.
d
going from memory, but shouldn't that be,
Copy code
component {
    static {
        (public|private)? (final)? someVar = 0;
    }
}
i thought the
static
scope is only necessary in member methods trying to access that scope.