Nick Reid
2016-05-28 23:15:15 UTC
What you're struggling with is an age old programming problem with probably
no great solution (I think the best one is steering clear of it with
polymorphism and design forethought), but anyway...
Using switch is a preferred solution. I'd recommend something more like:
bool argsMatch(List a, List b) {
}
no great solution (I think the best one is steering clear of it with
polymorphism and design forethought), but anyway...
Using switch is a preferred solution. I'd recommend something more like:
bool argsMatch(List a, List b) {
}
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.