#1455 const class & const fields

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 (and static fields) to be implicitly const.

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 :)

Login or Signup to reply.