in reply to Re^4: Reference of constants and literals
in thread Reference of constants and literals
Saying a feature is essential to syntax doesn't prove it's not syntactic sugar. If anything, it proves that it is.
If a feature is syntactic sugar, it means the feature adds an alternate syntax rather than adding functionality.
Since
sub foo(\@@); foo(@a, 'x');
and
sub foo; foo(\@a, 'x');
are equivalent, prototypes are syntactic sugar.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Reference of constants and literals
by LanX (Saint) on Nov 24, 2008 at 16:23 UTC | |
by ikegami (Patriarch) on Nov 24, 2008 at 16:37 UTC | |
by LanX (Saint) on Nov 24, 2008 at 16:57 UTC | |
by ikegami (Patriarch) on Nov 24, 2008 at 17:14 UTC | |
by LanX (Saint) on Nov 24, 2008 at 17:51 UTC | |
|