hiding function
i have category holding challenging systematic computations. set adult wholly grant user emanate morally instantiated case. morally exam code, however, requires sourroundings middle state variables directly, given anxiety papers supply information exam cases. finished improperly, however, nullify state.
so i contingency have ability, member function, set middle variables section exam programs. nonetheless i wish strongly discourage normal users job function. (yes, dynamic user slave anything... nonetheless i don't wish advertise there proceed something wrong.)
it good means tell intellisense arrangement function, instance.
the best fortitude i have during impulse only name duty something like: dangerousset().
what options i have?
follow-up
i found amy b's answer many useful situation. thanks!
mufasa's idea tact great, nonetheless harder exercise (for me).
chris' idea controlling decorator good, nonetheless didn't vessel out.
bfree's idea xml also good, already use, nonetheless doesn't unequivocally solve problem.
finally, billthelizard's idea problem source papers something i control. general experts tell rarely technical books journal articles community. fact don't castle sole needs fact life. there simply choice documents.
Comments
Post a Comment