Something like a structure, how do you call that? I'm sure there is a shorter term then "class which instances are only used for variable storage"
Asked
Active
Viewed 117 times
-6
-
2Look at your post, this is not really a question. What do you want to know ? You are tagging to languages quite different and we don't even know what you want to do. – ibi0tux May 06 '13 at 06:20
-
Well, there *is* a [struct](http://msdn.microsoft.com/library/ah19swz4.aspx) ... – Corak May 06 '13 at 06:21
-
I know there is struct, but i cant call a class a struct, that would be wrong – Yui May 06 '13 at 06:22
-
1not answerable at all.what is the question? – Prabhu Murthy May 06 '13 at 06:22
-
Why use a class, when you *want* a struct? If all you need is "pass by reference", then maybe you can call it "structlike class" or something. – Corak May 06 '13 at 06:25
-
Are you looking for enumerated data type (http://en.wikipedia.org/wiki/Enumerated_type) or java enum (http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html). A way to implement in Python (http://stackoverflow.com/questions/36932/how-can-i-represent-an-enum-in-python) – poof May 06 '13 at 06:25
-
@Corak: What about Python? – Reinstate Monica May 06 '13 at 06:32
2 Answers
2
I would call it a Container class.

RST
- 3,899
- 2
- 20
- 33
-
-
8
-
well I am glad to be of help, although it seems to cost me my reputation :(. Weird system. – RST May 06 '13 at 06:28
-
1I believe the downvoter did not mean to disrespect your wish to help the OP, but the need for help in the first place, making the blame fall on you. I would consider a `Joke` category, so people could answer this question with serious, well phrased and funny jokes. Sounds better than a downvote, at least. – SimpleVar May 06 '13 at 06:30
-
i accept it once i can, I don't really get why people would downvote a right answer without providing reason. – Yui May 06 '13 at 06:30
-
2
0
DTO - Data Transfer Object comes to mind. Also Model or ViewModel.

Michael Viktor Starberg
- 920
- 5
- 8