constructors/destructors into UML

Hello!

Should I put the Constructor/destructor functions into my UML classes diagram?

Thanks
closed account (EzwRko23)
It depends on what you are going to document. However, I would not put destructors there, unless they have some business logic (anyway - destructors containing business logic = a very bad idea). I would put constructors there if they are important from the view of the business logic (e.g. they take some parameters you wish to document). If they are just an obvious thing to create an object, I would not document them.


ok, thanks. this is what I wanted :)
Topic archived. No new replies allowed.