As we've seen here plenty of times here, one can learn a lot about a system from just peeking at a few lines of code. But many times it's the enumerations defined in the system that will tell you more than you'll ever want to know. I'll leave it as an exercise to the reader to imagine the innards of this C#-based warehousing system that P.G. had the pleasure of working with ...

public enum OrderStatus
{
  Opened = 1,
  PendingApproval = 2,
  Approved = 4,
  PendingAuthorization = 8,
  Authorized = 16,
  PaidFor = 32,
  Reject = 64,
  Rejected = 128,
  Deleted = 256,
  Removed = 512,
  UnRejected = 1024
}
...

public enum BOOL
{
  TRUE,
  FALSE,
  NOT_TRUE_OR_FALSE
}
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!