Talk:Classes: Difference between revisions

From Rosetta Code
Content added Content deleted
(Undo revision 16917 by ApgQdq (Talk))
(Destructor?)
Line 1: Line 1:
The task here is not specific enough. The task should an object that does something very simple, for example, a person which has a first name and last name and a method to return full name or a shape returning its area, etc.
The task here is not specific enough. The task should an object that does something very simple, for example, a person which has a first name and last name and a method to return full name or a shape returning its area, etc.
:I think it still works. Adding comments is simple enough for explanation. --[[User:Mwn3d|Mwn3d]] 16:45, 9 March 2009 (UTC)

==Destructor==
What do you guys think about adding a destructor requirement where appropriate? --[[User:Mwn3d|Mwn3d]] 16:45, 9 March 2009 (UTC)

Revision as of 16:45, 9 March 2009

The task here is not specific enough. The task should an object that does something very simple, for example, a person which has a first name and last name and a method to return full name or a shape returning its area, etc.

I think it still works. Adding comments is simple enough for explanation. --Mwn3d 16:45, 9 March 2009 (UTC)

Destructor

What do you guys think about adding a destructor requirement where appropriate? --Mwn3d 16:45, 9 March 2009 (UTC)