Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat is the accepted standard for dictating lambda expressions?
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/274022/how-do-i-pronounce-as-used-in-lambda-expressions-in-net">How do I pronounce &ldquo;=&gt;&rdquo; as used in lambda expressions in .Net</a> </p> </blockquote> <p>Sometimes, when helping another programmer write code, I dictate what I want them to type in. Sometimes this can be a frustrating exercise until the programmer gets used to how you verbalize code (i.e. "assign 5 to x" versus "x equals 5"). One thing I haven't figured out yet is how to efficiently pronounce lambda expressions in C#.</p> <p>For example, if I want <code>(x, y) =&gt; x * y</code> typed in, here's the sorts of things I've tried:</p> <blockquote> <p>Me: Lambda expression taking x and y, yielding x times y</p> <p>Him: "Huh?"</p> <p>Me: Delegate taking x and y, returning x times y</p> <p>Him: <code>delegate(x, y) { return x * y; }</code>, what types are x and y?</p> <p>Me: tuple of x and y, right-arrow x times y</p> <p>Him: "Eh?"</p> <p>Me: open paren, x, comma, y, close-paren, right-arrow x times y</p> <p>Him: (x,y)->x*y</p> <p>Me: Er, double-arrow?</p> <p>Him: >></p> <p>Me: Sigh... equals-greater-than</p> <p>Him: (oh, greater-than-or-equals?) >=</p> <p>Me: OK, let me drive for a while!</p> </blockquote> <p>The programmers in question know what lambda expressions are, but they're hard to communicate. I'm sure we'll learn how, but I don't even know if I'm doing it right. Have you found a successful way to dictate this relatively-new language construct in C#? Or better-yet, is there a language-neutral way to pronounce lambda expressions?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload