How big can a micro-behaviour be

1 view
Skip to first unread message

howard...@gmail.com

unread,
Sep 11, 2009, 6:37:04 AM9/11/09
to The Modelling4All Project
Seems that micro-behaviours tend to be pretty small generally.

I was wondering if this one is in the spirit of things:

https://weblearn.ox.ac.uk/access/content/user/14894/low-carbon-1/REPORT-CLOCK-VARIABLES

e.g. multiple ends in same MB. Its like declaring a lot of variables -
doesn't do much so I couldn't see much point in making lots of MB
instead of one.

Any general guidelines available?

Ken Kahn

unread,
Sep 12, 2009, 5:12:20 AM9/12/09
to modelling4all
Makes sense to me to have one micro-behaviour simulating a clock/calendar. 

Could be formatted nicer. No need for so much white space.

Should document that this code expects there to a prototype named Clock that has those variables.

Could add a comment on the page it could be enhanced to also report month and day of the month.

Best,

Reply all
Reply to author
Forward
0 new messages