LivelyKernel / lively.next

lively.next is a personal programming kit. It emphasizes liveness, directness, and interactivity.
https://lively-next.org
MIT License
69 stars 16 forks source link

Initialization of properties #811

Closed rickmcgeer closed 1 year ago

rickmcgeer commented 1 year ago

What would you like to achieve? I'd like to have a generic initialization for a property (and it may well exist, I just don't know it -- hence the support inquiry).

How are you trying to achieve that What I'm doing now is putting the property initialization code into the onLoad() method, and I'm pretty sure there are better ways to do it.

merryman commented 1 year ago

You can find a nice overview of controlling the order of property initialization here: https://github.com/LivelyKernel/lively.next/wiki/Morphic It also describes how to define initializers for different properties.

linusha commented 1 year ago

Until further notice, I consider this done. Feel free to reopen if I am mistaken.