-6

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"

Yui
  • 181
  • 1
  • 1
  • 4
  • 2
    Look 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
  • 1
    not 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 Answers2

2

I would call it a Container class.

RST
  • 3,899
  • 2
  • 20
  • 33
  • thats good, I call it that, thanks a lot! – Yui May 06 '13 at 06:24
  • 8
    I call it Scorpy. I like the name Scorpy. – SimpleVar May 06 '13 at 06:26
  • 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
  • 1
    I 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
    @YoryeNathan - Harvey is fine, too. – Corak May 06 '13 at 06:32
0

DTO - Data Transfer Object comes to mind. Also Model or ViewModel.