MRC-CSO-SPHSU / LoneParentsModel.jl

An initial implementation of an ABM for social and child care
0 stars 5 forks source link

naming convention for getters/setters #72

Closed mhinsch closed 2 years ago

mhinsch commented 2 years ago

Not terribly important, but just for the sake of completeness. My macros generate property(obj) and property!(obj). If you'd rather use something more explicit (e.g. getProperty, setProperty!) now would be the time to say so (personally, I prefer the more concise version, but it's not something I can't live without).

AtiyahElsheikh commented 2 years ago

Would getProperty! , setProperty! somehow clash with the intention of base.[set/get]property!(*)

mhinsch commented 2 years ago

That was just by way of an example, just insert any property name for 'property' in my comment.