ID versus Type
#1
I know this is just a rant, but it's been bugging me ever since, so why not let the steam out? Maybe people will understand my OCD over the sources Wink

I feel there's a difference between an ID and a type. ID is something that uniquely identifies one single instance. Type is something that describes some general properties shared between several instances. So for instance an entity has an ID, which uniquely identifies the one entity, and a type that says what it should behave as.

So why do we keep using BlockID and ItemID, when, in fact, they are BlockType and ItemType? BlockID, in the logic described above, would be the set of 3 coordinates - that's how you identify one single block. On the other hand, whether that block is dirt or stone, that is clearly a type - several blocks share that property.

That's why I keep changing all the BlockIDs and ItemIDs in the sources into BlockTypes and ItemTypes.
Reply
Thanks given by:


Messages In This Thread
ID versus Type - by xoft - 10-20-2012, 04:42 AM
RE: ID versus Type - by FakeTruth - 10-20-2012, 06:17 AM



Users browsing this thread: 1 Guest(s)