in reply to Re^4: Making 'all' the attributes read only by default (Moo)
in thread Making 'all' the attributes read only by default (Moo)

I'm asking about a way to state that all the attributes of Ghost are readonly,

I understand what you are asking for, and can even sympathize with your desire to do away with boilerplate code. Sorry that I cannot help you with that; perhaps tobyink will happen by with some wisdom.

But for the life of me I do not understand the desire to construct write-once variables at runtime.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
  • Comment on Re^5: Making 'all' the attributes read only by default (Moo)