Navigation Menu

Skip to content

Commit

Permalink
[questions] answer Q2 by pmichaud++
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jun 30, 2012
1 parent 58b9c43 commit 9abc8f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions questions.txt
Expand Up @@ -29,5 +29,13 @@ Q2: (pmichaud) What's the expectation of how "useless use of '+'
or is it something that &infix:<+> would detect and carp
about at runtime?

A2: (moritz) They are generated at compile-time based on a trait
on the proto sub.
Reasons are:
* The user wants a warning per occurence in the source code,
not per call
* performance considerations
See also: http://irclog.perlgeek.de/perl6/2012-02-17#i_5161470


Pm

0 comments on commit 9abc8f2

Please sign in to comment.