'if' is a simple, well-understood concept that exists already in the Perl programming language, is well integrated with all other features in the programming language, and is very short. There's not much you can add to an if-statement to enhance its value (at least I haven't seen any experiment that demonstrates added value).The same can be said for 'for'. Yet 'foreach' exists.
Oh, and for the 'if' case, there's an 'unless' which is just a long way of writing 'if!'.
In reply to Re^8: What is best for the future.
by JavaFan
in thread What is best for the future.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |