I was looking through the topics for this, and I would like to +1 for the compiler taking fields in a const class (and static fields) to be implicitly const.
It allows Fantom to be even DRY-er.
brianMon 21 Mar 2011
We've talked a little about it before regarding static and const. I think we should stick with the explicit keywords, I really like seeing everything about the field when looking at it and not having to understand contextual issues like the wrapping class.
mpharrisonMon 21 Mar 2011
Sounds like a candidate for editor/IDE auto-complete/hinting, then :)
mpharrison Mon 21 Mar 2011
I was looking through the topics for this, and I would like to +1 for the compiler taking fields in a
const
class (andstatic
fields) to be implicitlyconst
.It allows Fantom to be even DRY-er.
brian Mon 21 Mar 2011
We've talked a little about it before regarding static and const. I think we should stick with the explicit keywords, I really like seeing everything about the field when looking at it and not having to understand contextual issues like the wrapping class.
mpharrison Mon 21 Mar 2011
Sounds like a candidate for editor/IDE auto-complete/hinting, then :)