Open GoogleCodeExporter opened 8 years ago
Sorry for the flood, i'm currently refactoring my code, and I realize that an
other
Enum for the sort order instead of a boolean would be easier to use.
Original comment by mathieu....@gmail.com
on 26 Aug 2009 at 1:55
That sounds like it could be a good idea. We'll have to take some time to
consider
the implications for interactions with other languages like Flex, JavaScript.
But it
will probably work out just fine.
I'd like to see an example of how an Enum for sort order would be easier than a
boolean. A concrete example would make it easier to evaluate the alternatives.
Original comment by dwolvert
on 1 Oct 2009 at 11:58
In the example Mathieu provided you will preserve the original int value, which
will allow the use of this enum in other systems that will not allow enums. We
could also add a helper method inside the enum to convert the original int to
the enum.
Original comment by terciofi...@gmail.com
on 26 Oct 2011 at 6:50
Original issue reported on code.google.com by
mathieu....@gmail.com
on 26 Aug 2009 at 1:07