Timeline for Get the name of a symbol passed to a function
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 4, 2012 at 13:57 | comment | added | Leonid Shifrin | @YvesKlett I got you, just not right away :). And you R right :) | |
| Dec 4, 2012 at 13:51 | comment | added | Yves Klett | @LeonidShifrin I was alluring to R - quite lamely as it seems. Thx for the offer though! | |
| Dec 4, 2012 at 13:40 | comment | added | Yves Klett | @LeonidShifrin R U busy? | |
| Dec 4, 2012 at 13:39 | comment | added | Leonid Shifrin | @Mr.Wizard In any case, I would not mind you editing my answer(s) as you see fit, so I think this is really not an issue. | |
| Dec 4, 2012 at 13:37 | comment | added | Leonid Shifrin | @Mr.Wizard Thanks, I appreciate that. I used to give more detailed answers which would also explain the reasons behind some of the rules. A little more busy now :) | |
| Dec 4, 2012 at 13:35 | comment | added | Mr.Wizard | You already had my vote but I appreciate the addition. Quite reasonably your answers are generally viewed as authoritative (even if you disagree) and it's good, IMHO, to at least allow for situations where an Attribute is not set first. | |
| Dec 4, 2012 at 13:31 | history | edited | Leonid Shifrin | CC BY-SA 3.0 | added 47 characters in body |
| Dec 4, 2012 at 13:27 | comment | added | Leonid Shifrin | @Mr.Wizard I stand by what I advised. Those who know these advanced uses know what they do. Most people would find it highly confusing when their functions would not work according to their definitions, only to discover (with pain, hours later), that there was some evaluation happening at definition-time which ruined their definitions. I am speaking from personal experience here, but I know that lots of other people got into this trap at some point, and more than once. | |
| Dec 4, 2012 at 13:22 | comment | added | Mr.Wizard | "... it is better to set attributes before you give definitions to a function, to avoid some surprises." I argue that it's better to set the Attribute at the appropriate time, being mindful of the ramifications of the order. This has powerful uses as you know. I know what you are trying to warn new users against but for a long time that "rule" kept me from understanding and using Attributes to their full potential. Maybe this is one of those "you must know the rules before you decide to break them" cases. | |
| Dec 4, 2012 at 13:15 | vote | accept | Lorenzo Pistone | ||
| Dec 4, 2012 at 13:13 | history | edited | Leonid Shifrin | CC BY-SA 3.0 | added 123 characters in body |
| Dec 4, 2012 at 13:07 | history | answered | Leonid Shifrin | CC BY-SA 3.0 |