in reply to Why Moose uses this syntax??!!
Many of the design decisions in Moose trace back to the fact that Perl-5 is the underlying implementation language. The use of parentheses, and the => operator, both already exist in the Perl-5 language, and they define a list, whereas braces denote a hash. The Moose team worked within the context of the language they were building upon, to create the higher-level constructs that they did. Then, they took care to make the usage consistent, so that subsequent developers using Moose would not have to “guess” which one to use in a given situation.
They (koff, koff ...) never set out to “convince you,” and they don’t have to do so now. If they ... ;-) ... “offended your sense of sensibilities,” then c’est la guerre.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why Moose uses this syntax??!!
by BrowserUk (Patriarch) on Dec 28, 2014 at 21:25 UTC |