
8 Dec
2009
8 Dec
'09
9:07 p.m.
Am Mittwoch 09 Dezember 2009 02:26:11 schrieb zaxis:
thanks for your quick answer ! Then what's the advantage using such a `case` not using `if` statement given by you ? For me, the `if` statement is more clear .
Once you have a lot of possibilities to check, if-then-else cascades become rather unreadable. However, it might then be advisable to rethink your code, perhaps introduce a choice combinator.