How to verbalise code in Mathematica?












3












$begingroup$


How do you read an expression like?



x + y /. x -> 2


Looking up /. and -> in Mathematica docs it says ReplaceAll and Rule. But you would not pronounce the expression above as



x plus y replace all x rule 2. 


Instead you would say something like



x plus y where x goes to two. 


The operators /. and -> are just two examples, there are a lot of others in Mathematica. Is there some resource that addresses pronunciations in Mathematica.










share|improve this question











$endgroup$












  • $begingroup$
    @C.E Of course there must be several ways to pronounce an expression, depending on the context. I am not after one true way to pronounce, but more a list of examples how you could pronounce some not obvious expressions. Maybe no one thinks this is worthwhile and that's OK, but if anybody has discussed this I would like a link to it.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    This is a topic in any programming language, as they have not been designed to become acoustic streams. Are you primarily interested in communicating vocally to other people, or are you interested in clarifying your inner monologue while working on code? Some of us are more visual-oriented and a symbol like -> never makes it beyond the visual stage, never becomes an acoustic event.
    $endgroup$
    – Roman
    9 hours ago










  • $begingroup$
    @Roman I am primarily interested in communicating vocally to other people. When it comes to other programming languages there is some discussion, see for instance stackoverflow.com/questions/7746894/…
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    I know that pronunciations are opinion based and that there are no true answers, but still it makes sense to me that have some way of communication vocally to other people when the need arises, so the discussion in Haskell was of great help to me, even though it is opinion based.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    How about you get a list started, like the Haskell example, and everybody chips in? Something like a table with three columns: "symbol", "pronounciations" (many lines), and "voters" where everybody can put in their name to vote for a particular pronounciation.
    $endgroup$
    – Roman
    8 hours ago
















3












$begingroup$


How do you read an expression like?



x + y /. x -> 2


Looking up /. and -> in Mathematica docs it says ReplaceAll and Rule. But you would not pronounce the expression above as



x plus y replace all x rule 2. 


Instead you would say something like



x plus y where x goes to two. 


The operators /. and -> are just two examples, there are a lot of others in Mathematica. Is there some resource that addresses pronunciations in Mathematica.










share|improve this question











$endgroup$












  • $begingroup$
    @C.E Of course there must be several ways to pronounce an expression, depending on the context. I am not after one true way to pronounce, but more a list of examples how you could pronounce some not obvious expressions. Maybe no one thinks this is worthwhile and that's OK, but if anybody has discussed this I would like a link to it.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    This is a topic in any programming language, as they have not been designed to become acoustic streams. Are you primarily interested in communicating vocally to other people, or are you interested in clarifying your inner monologue while working on code? Some of us are more visual-oriented and a symbol like -> never makes it beyond the visual stage, never becomes an acoustic event.
    $endgroup$
    – Roman
    9 hours ago










  • $begingroup$
    @Roman I am primarily interested in communicating vocally to other people. When it comes to other programming languages there is some discussion, see for instance stackoverflow.com/questions/7746894/…
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    I know that pronunciations are opinion based and that there are no true answers, but still it makes sense to me that have some way of communication vocally to other people when the need arises, so the discussion in Haskell was of great help to me, even though it is opinion based.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    How about you get a list started, like the Haskell example, and everybody chips in? Something like a table with three columns: "symbol", "pronounciations" (many lines), and "voters" where everybody can put in their name to vote for a particular pronounciation.
    $endgroup$
    – Roman
    8 hours ago














3












3








3





$begingroup$


How do you read an expression like?



x + y /. x -> 2


Looking up /. and -> in Mathematica docs it says ReplaceAll and Rule. But you would not pronounce the expression above as



x plus y replace all x rule 2. 


Instead you would say something like



x plus y where x goes to two. 


The operators /. and -> are just two examples, there are a lot of others in Mathematica. Is there some resource that addresses pronunciations in Mathematica.










share|improve this question











$endgroup$




How do you read an expression like?



x + y /. x -> 2


Looking up /. and -> in Mathematica docs it says ReplaceAll and Rule. But you would not pronounce the expression above as



x plus y replace all x rule 2. 


Instead you would say something like



x plus y where x goes to two. 


The operators /. and -> are just two examples, there are a lot of others in Mathematica. Is there some resource that addresses pronunciations in Mathematica.







education






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 hours ago









Carl Lange

5,67411344




5,67411344










asked 9 hours ago









Bob UelandBob Ueland

35719




35719












  • $begingroup$
    @C.E Of course there must be several ways to pronounce an expression, depending on the context. I am not after one true way to pronounce, but more a list of examples how you could pronounce some not obvious expressions. Maybe no one thinks this is worthwhile and that's OK, but if anybody has discussed this I would like a link to it.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    This is a topic in any programming language, as they have not been designed to become acoustic streams. Are you primarily interested in communicating vocally to other people, or are you interested in clarifying your inner monologue while working on code? Some of us are more visual-oriented and a symbol like -> never makes it beyond the visual stage, never becomes an acoustic event.
    $endgroup$
    – Roman
    9 hours ago










  • $begingroup$
    @Roman I am primarily interested in communicating vocally to other people. When it comes to other programming languages there is some discussion, see for instance stackoverflow.com/questions/7746894/…
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    I know that pronunciations are opinion based and that there are no true answers, but still it makes sense to me that have some way of communication vocally to other people when the need arises, so the discussion in Haskell was of great help to me, even though it is opinion based.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    How about you get a list started, like the Haskell example, and everybody chips in? Something like a table with three columns: "symbol", "pronounciations" (many lines), and "voters" where everybody can put in their name to vote for a particular pronounciation.
    $endgroup$
    – Roman
    8 hours ago


















  • $begingroup$
    @C.E Of course there must be several ways to pronounce an expression, depending on the context. I am not after one true way to pronounce, but more a list of examples how you could pronounce some not obvious expressions. Maybe no one thinks this is worthwhile and that's OK, but if anybody has discussed this I would like a link to it.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    This is a topic in any programming language, as they have not been designed to become acoustic streams. Are you primarily interested in communicating vocally to other people, or are you interested in clarifying your inner monologue while working on code? Some of us are more visual-oriented and a symbol like -> never makes it beyond the visual stage, never becomes an acoustic event.
    $endgroup$
    – Roman
    9 hours ago










  • $begingroup$
    @Roman I am primarily interested in communicating vocally to other people. When it comes to other programming languages there is some discussion, see for instance stackoverflow.com/questions/7746894/…
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    I know that pronunciations are opinion based and that there are no true answers, but still it makes sense to me that have some way of communication vocally to other people when the need arises, so the discussion in Haskell was of great help to me, even though it is opinion based.
    $endgroup$
    – Bob Ueland
    9 hours ago










  • $begingroup$
    How about you get a list started, like the Haskell example, and everybody chips in? Something like a table with three columns: "symbol", "pronounciations" (many lines), and "voters" where everybody can put in their name to vote for a particular pronounciation.
    $endgroup$
    – Roman
    8 hours ago
















$begingroup$
@C.E Of course there must be several ways to pronounce an expression, depending on the context. I am not after one true way to pronounce, but more a list of examples how you could pronounce some not obvious expressions. Maybe no one thinks this is worthwhile and that's OK, but if anybody has discussed this I would like a link to it.
$endgroup$
– Bob Ueland
9 hours ago




$begingroup$
@C.E Of course there must be several ways to pronounce an expression, depending on the context. I am not after one true way to pronounce, but more a list of examples how you could pronounce some not obvious expressions. Maybe no one thinks this is worthwhile and that's OK, but if anybody has discussed this I would like a link to it.
$endgroup$
– Bob Ueland
9 hours ago












$begingroup$
This is a topic in any programming language, as they have not been designed to become acoustic streams. Are you primarily interested in communicating vocally to other people, or are you interested in clarifying your inner monologue while working on code? Some of us are more visual-oriented and a symbol like -> never makes it beyond the visual stage, never becomes an acoustic event.
$endgroup$
– Roman
9 hours ago




$begingroup$
This is a topic in any programming language, as they have not been designed to become acoustic streams. Are you primarily interested in communicating vocally to other people, or are you interested in clarifying your inner monologue while working on code? Some of us are more visual-oriented and a symbol like -> never makes it beyond the visual stage, never becomes an acoustic event.
$endgroup$
– Roman
9 hours ago












$begingroup$
@Roman I am primarily interested in communicating vocally to other people. When it comes to other programming languages there is some discussion, see for instance stackoverflow.com/questions/7746894/…
$endgroup$
– Bob Ueland
9 hours ago




$begingroup$
@Roman I am primarily interested in communicating vocally to other people. When it comes to other programming languages there is some discussion, see for instance stackoverflow.com/questions/7746894/…
$endgroup$
– Bob Ueland
9 hours ago












$begingroup$
I know that pronunciations are opinion based and that there are no true answers, but still it makes sense to me that have some way of communication vocally to other people when the need arises, so the discussion in Haskell was of great help to me, even though it is opinion based.
$endgroup$
– Bob Ueland
9 hours ago




$begingroup$
I know that pronunciations are opinion based and that there are no true answers, but still it makes sense to me that have some way of communication vocally to other people when the need arises, so the discussion in Haskell was of great help to me, even though it is opinion based.
$endgroup$
– Bob Ueland
9 hours ago












$begingroup$
How about you get a list started, like the Haskell example, and everybody chips in? Something like a table with three columns: "symbol", "pronounciations" (many lines), and "voters" where everybody can put in their name to vote for a particular pronounciation.
$endgroup$
– Roman
8 hours ago




$begingroup$
How about you get a list started, like the Haskell example, and everybody chips in? Something like a table with three columns: "symbol", "pronounciations" (many lines), and "voters" where everybody can put in their name to vote for a particular pronounciation.
$endgroup$
– Roman
8 hours ago










2 Answers
2






active

oldest

votes


















4












$begingroup$

Starting a brain dump of ideas, listening to my inner monologue. Please feel free to edit and add suggestions. Here is a list of most operators.



| sym  | example     | pronunciation                       | votes, comments, rants
|––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––––––––
| :: | x::y | x says y |
| # | # | slot |
| ## | ## | all slots |
| & | x& | x end-of-function |
| % | % | previous output |
| : | x:_ | x-pattern |
| | | anything, call it x |
| /; | x_/;y | x-pattern that y |
| | | anything that y, call it x |
| ? | x_?yQ | x-pattern that is y |
| | | anything y, call it x |
| _ | x_ | x-pattern |
| | | anything, call it x |
| _ | x_y | x-pattern of type y |
| | | anything of type y, call it x |
| __ | x__ | x-patterns |
| | | any sequence, call it x |
| ___ | x___ | x-maybepatterns |
| | | any sequence, even empty, call it x |
| _. | x_. | x-defaultpattern |
| | | anything, call it x, with default |
| : | x_:y | x-pattern defaults to y |
| | | anything, call it x, with default y |
| .. | x.. | one or more x |
| ... | x... | zero or more x |
| {} | {1,2,3} | list of 1, 2, 3 |
| [] | x[[y]] | element y of x |
| ;; | x;;y;;z | from x to y in steps of z |
| == | x==y | x equal to y |
| != | x!=y | x not equal to y |
| === | x===y | x same as y |
| =!= | x=!=y | x not same as y |
| ++ | x++ | x and then increment it |
| ++ | ++x | x but increment it first |
| -- | x-- | x and then decrement it |
| -- | --x | x but decrement it first |
| | x[y] | x of y |
| | x[y,z] | x of y and z |
| @* | x@*y | x of y |
| // | x//y | x then do y |
| /* | x/*y | y of x |
| | x//y/*z | x then do y then do z |
| @ | x@y | x of y |
| ~ | x~f~y | f of x and y |
| /@ | x/@y | map x onto y |
| //@ | x//@y | mapall x onto y |
| | | map x onto all levels of y |
| @@ | x@@y | x head of y |
| @@@ | x@@@y | map x-head onto y |
| -> | x->y | x becomes y |
| | | x goes to y |
| :> | x:>y | x will become y |
| | | x will go to y |
| /. | x/.y | x where y |
| //. | x//.y | x where repeatedly y |
| = | x=y | x is y |
| := | x:=y | x will be y |
| ^= | x[y]^=z | y remembers x[y] is z |
| ^:= | x[y]^:=z | y remembers x[y] will be z |
| /: | x/:y=z | x remembers y is z |
| /: | x/:y:=z | x remembers y will be z |
| . | x=. | x is cleared |
|––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––





share|improve this answer











$endgroup$













  • $begingroup$
    thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
    $endgroup$
    – Bob Ueland
    1 hour ago










  • $begingroup$
    As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
    $endgroup$
    – bobthechemist
    1 hour ago










  • $begingroup$
    @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
    $endgroup$
    – Roman
    4 secs ago



















3












$begingroup$

You could try using SpokenString:



SpokenString[HoldForm[x + y /. x->2]]



"x plus y slash dot x goes to 2"







share|improve this answer









$endgroup$














    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "387"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f197175%2fhow-to-verbalise-code-in-mathematica%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4












    $begingroup$

    Starting a brain dump of ideas, listening to my inner monologue. Please feel free to edit and add suggestions. Here is a list of most operators.



    | sym  | example     | pronunciation                       | votes, comments, rants
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––––––––
    | :: | x::y | x says y |
    | # | # | slot |
    | ## | ## | all slots |
    | & | x& | x end-of-function |
    | % | % | previous output |
    | : | x:_ | x-pattern |
    | | | anything, call it x |
    | /; | x_/;y | x-pattern that y |
    | | | anything that y, call it x |
    | ? | x_?yQ | x-pattern that is y |
    | | | anything y, call it x |
    | _ | x_ | x-pattern |
    | | | anything, call it x |
    | _ | x_y | x-pattern of type y |
    | | | anything of type y, call it x |
    | __ | x__ | x-patterns |
    | | | any sequence, call it x |
    | ___ | x___ | x-maybepatterns |
    | | | any sequence, even empty, call it x |
    | _. | x_. | x-defaultpattern |
    | | | anything, call it x, with default |
    | : | x_:y | x-pattern defaults to y |
    | | | anything, call it x, with default y |
    | .. | x.. | one or more x |
    | ... | x... | zero or more x |
    | {} | {1,2,3} | list of 1, 2, 3 |
    | [] | x[[y]] | element y of x |
    | ;; | x;;y;;z | from x to y in steps of z |
    | == | x==y | x equal to y |
    | != | x!=y | x not equal to y |
    | === | x===y | x same as y |
    | =!= | x=!=y | x not same as y |
    | ++ | x++ | x and then increment it |
    | ++ | ++x | x but increment it first |
    | -- | x-- | x and then decrement it |
    | -- | --x | x but decrement it first |
    | | x[y] | x of y |
    | | x[y,z] | x of y and z |
    | @* | x@*y | x of y |
    | // | x//y | x then do y |
    | /* | x/*y | y of x |
    | | x//y/*z | x then do y then do z |
    | @ | x@y | x of y |
    | ~ | x~f~y | f of x and y |
    | /@ | x/@y | map x onto y |
    | //@ | x//@y | mapall x onto y |
    | | | map x onto all levels of y |
    | @@ | x@@y | x head of y |
    | @@@ | x@@@y | map x-head onto y |
    | -> | x->y | x becomes y |
    | | | x goes to y |
    | :> | x:>y | x will become y |
    | | | x will go to y |
    | /. | x/.y | x where y |
    | //. | x//.y | x where repeatedly y |
    | = | x=y | x is y |
    | := | x:=y | x will be y |
    | ^= | x[y]^=z | y remembers x[y] is z |
    | ^:= | x[y]^:=z | y remembers x[y] will be z |
    | /: | x/:y=z | x remembers y is z |
    | /: | x/:y:=z | x remembers y will be z |
    | . | x=. | x is cleared |
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––





    share|improve this answer











    $endgroup$













    • $begingroup$
      thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
      $endgroup$
      – Bob Ueland
      1 hour ago










    • $begingroup$
      As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
      $endgroup$
      – bobthechemist
      1 hour ago










    • $begingroup$
      @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
      $endgroup$
      – Roman
      4 secs ago
















    4












    $begingroup$

    Starting a brain dump of ideas, listening to my inner monologue. Please feel free to edit and add suggestions. Here is a list of most operators.



    | sym  | example     | pronunciation                       | votes, comments, rants
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––––––––
    | :: | x::y | x says y |
    | # | # | slot |
    | ## | ## | all slots |
    | & | x& | x end-of-function |
    | % | % | previous output |
    | : | x:_ | x-pattern |
    | | | anything, call it x |
    | /; | x_/;y | x-pattern that y |
    | | | anything that y, call it x |
    | ? | x_?yQ | x-pattern that is y |
    | | | anything y, call it x |
    | _ | x_ | x-pattern |
    | | | anything, call it x |
    | _ | x_y | x-pattern of type y |
    | | | anything of type y, call it x |
    | __ | x__ | x-patterns |
    | | | any sequence, call it x |
    | ___ | x___ | x-maybepatterns |
    | | | any sequence, even empty, call it x |
    | _. | x_. | x-defaultpattern |
    | | | anything, call it x, with default |
    | : | x_:y | x-pattern defaults to y |
    | | | anything, call it x, with default y |
    | .. | x.. | one or more x |
    | ... | x... | zero or more x |
    | {} | {1,2,3} | list of 1, 2, 3 |
    | [] | x[[y]] | element y of x |
    | ;; | x;;y;;z | from x to y in steps of z |
    | == | x==y | x equal to y |
    | != | x!=y | x not equal to y |
    | === | x===y | x same as y |
    | =!= | x=!=y | x not same as y |
    | ++ | x++ | x and then increment it |
    | ++ | ++x | x but increment it first |
    | -- | x-- | x and then decrement it |
    | -- | --x | x but decrement it first |
    | | x[y] | x of y |
    | | x[y,z] | x of y and z |
    | @* | x@*y | x of y |
    | // | x//y | x then do y |
    | /* | x/*y | y of x |
    | | x//y/*z | x then do y then do z |
    | @ | x@y | x of y |
    | ~ | x~f~y | f of x and y |
    | /@ | x/@y | map x onto y |
    | //@ | x//@y | mapall x onto y |
    | | | map x onto all levels of y |
    | @@ | x@@y | x head of y |
    | @@@ | x@@@y | map x-head onto y |
    | -> | x->y | x becomes y |
    | | | x goes to y |
    | :> | x:>y | x will become y |
    | | | x will go to y |
    | /. | x/.y | x where y |
    | //. | x//.y | x where repeatedly y |
    | = | x=y | x is y |
    | := | x:=y | x will be y |
    | ^= | x[y]^=z | y remembers x[y] is z |
    | ^:= | x[y]^:=z | y remembers x[y] will be z |
    | /: | x/:y=z | x remembers y is z |
    | /: | x/:y:=z | x remembers y will be z |
    | . | x=. | x is cleared |
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––





    share|improve this answer











    $endgroup$













    • $begingroup$
      thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
      $endgroup$
      – Bob Ueland
      1 hour ago










    • $begingroup$
      As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
      $endgroup$
      – bobthechemist
      1 hour ago










    • $begingroup$
      @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
      $endgroup$
      – Roman
      4 secs ago














    4












    4








    4





    $begingroup$

    Starting a brain dump of ideas, listening to my inner monologue. Please feel free to edit and add suggestions. Here is a list of most operators.



    | sym  | example     | pronunciation                       | votes, comments, rants
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––––––––
    | :: | x::y | x says y |
    | # | # | slot |
    | ## | ## | all slots |
    | & | x& | x end-of-function |
    | % | % | previous output |
    | : | x:_ | x-pattern |
    | | | anything, call it x |
    | /; | x_/;y | x-pattern that y |
    | | | anything that y, call it x |
    | ? | x_?yQ | x-pattern that is y |
    | | | anything y, call it x |
    | _ | x_ | x-pattern |
    | | | anything, call it x |
    | _ | x_y | x-pattern of type y |
    | | | anything of type y, call it x |
    | __ | x__ | x-patterns |
    | | | any sequence, call it x |
    | ___ | x___ | x-maybepatterns |
    | | | any sequence, even empty, call it x |
    | _. | x_. | x-defaultpattern |
    | | | anything, call it x, with default |
    | : | x_:y | x-pattern defaults to y |
    | | | anything, call it x, with default y |
    | .. | x.. | one or more x |
    | ... | x... | zero or more x |
    | {} | {1,2,3} | list of 1, 2, 3 |
    | [] | x[[y]] | element y of x |
    | ;; | x;;y;;z | from x to y in steps of z |
    | == | x==y | x equal to y |
    | != | x!=y | x not equal to y |
    | === | x===y | x same as y |
    | =!= | x=!=y | x not same as y |
    | ++ | x++ | x and then increment it |
    | ++ | ++x | x but increment it first |
    | -- | x-- | x and then decrement it |
    | -- | --x | x but decrement it first |
    | | x[y] | x of y |
    | | x[y,z] | x of y and z |
    | @* | x@*y | x of y |
    | // | x//y | x then do y |
    | /* | x/*y | y of x |
    | | x//y/*z | x then do y then do z |
    | @ | x@y | x of y |
    | ~ | x~f~y | f of x and y |
    | /@ | x/@y | map x onto y |
    | //@ | x//@y | mapall x onto y |
    | | | map x onto all levels of y |
    | @@ | x@@y | x head of y |
    | @@@ | x@@@y | map x-head onto y |
    | -> | x->y | x becomes y |
    | | | x goes to y |
    | :> | x:>y | x will become y |
    | | | x will go to y |
    | /. | x/.y | x where y |
    | //. | x//.y | x where repeatedly y |
    | = | x=y | x is y |
    | := | x:=y | x will be y |
    | ^= | x[y]^=z | y remembers x[y] is z |
    | ^:= | x[y]^:=z | y remembers x[y] will be z |
    | /: | x/:y=z | x remembers y is z |
    | /: | x/:y:=z | x remembers y will be z |
    | . | x=. | x is cleared |
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––





    share|improve this answer











    $endgroup$



    Starting a brain dump of ideas, listening to my inner monologue. Please feel free to edit and add suggestions. Here is a list of most operators.



    | sym  | example     | pronunciation                       | votes, comments, rants
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––––––––
    | :: | x::y | x says y |
    | # | # | slot |
    | ## | ## | all slots |
    | & | x& | x end-of-function |
    | % | % | previous output |
    | : | x:_ | x-pattern |
    | | | anything, call it x |
    | /; | x_/;y | x-pattern that y |
    | | | anything that y, call it x |
    | ? | x_?yQ | x-pattern that is y |
    | | | anything y, call it x |
    | _ | x_ | x-pattern |
    | | | anything, call it x |
    | _ | x_y | x-pattern of type y |
    | | | anything of type y, call it x |
    | __ | x__ | x-patterns |
    | | | any sequence, call it x |
    | ___ | x___ | x-maybepatterns |
    | | | any sequence, even empty, call it x |
    | _. | x_. | x-defaultpattern |
    | | | anything, call it x, with default |
    | : | x_:y | x-pattern defaults to y |
    | | | anything, call it x, with default y |
    | .. | x.. | one or more x |
    | ... | x... | zero or more x |
    | {} | {1,2,3} | list of 1, 2, 3 |
    | [] | x[[y]] | element y of x |
    | ;; | x;;y;;z | from x to y in steps of z |
    | == | x==y | x equal to y |
    | != | x!=y | x not equal to y |
    | === | x===y | x same as y |
    | =!= | x=!=y | x not same as y |
    | ++ | x++ | x and then increment it |
    | ++ | ++x | x but increment it first |
    | -- | x-- | x and then decrement it |
    | -- | --x | x but decrement it first |
    | | x[y] | x of y |
    | | x[y,z] | x of y and z |
    | @* | x@*y | x of y |
    | // | x//y | x then do y |
    | /* | x/*y | y of x |
    | | x//y/*z | x then do y then do z |
    | @ | x@y | x of y |
    | ~ | x~f~y | f of x and y |
    | /@ | x/@y | map x onto y |
    | //@ | x//@y | mapall x onto y |
    | | | map x onto all levels of y |
    | @@ | x@@y | x head of y |
    | @@@ | x@@@y | map x-head onto y |
    | -> | x->y | x becomes y |
    | | | x goes to y |
    | :> | x:>y | x will become y |
    | | | x will go to y |
    | /. | x/.y | x where y |
    | //. | x//.y | x where repeatedly y |
    | = | x=y | x is y |
    | := | x:=y | x will be y |
    | ^= | x[y]^=z | y remembers x[y] is z |
    | ^:= | x[y]^:=z | y remembers x[y] will be z |
    | /: | x/:y=z | x remembers y is z |
    | /: | x/:y:=z | x remembers y will be z |
    | . | x=. | x is cleared |
    |––––––|–––––––––––––|–––––––––––––––––––––––––––––––––––––|–––––––––––––––––––






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 2 mins ago

























    answered 2 hours ago









    RomanRoman

    6,37111133




    6,37111133












    • $begingroup$
      thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
      $endgroup$
      – Bob Ueland
      1 hour ago










    • $begingroup$
      As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
      $endgroup$
      – bobthechemist
      1 hour ago










    • $begingroup$
      @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
      $endgroup$
      – Roman
      4 secs ago


















    • $begingroup$
      thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
      $endgroup$
      – Bob Ueland
      1 hour ago










    • $begingroup$
      As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
      $endgroup$
      – bobthechemist
      1 hour ago










    • $begingroup$
      @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
      $endgroup$
      – Roman
      4 secs ago
















    $begingroup$
    thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
    $endgroup$
    – Bob Ueland
    1 hour ago




    $begingroup$
    thank you for a nice beginning. I often pronounce x_ as "anything, call it x". I guess you could pronounce x__ as "any sequence, call it x". And maybe you could pronounce x___ as "any sequence including empty, call it x".
    $endgroup$
    – Bob Ueland
    1 hour ago












    $begingroup$
    As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
    $endgroup$
    – bobthechemist
    1 hour ago




    $begingroup$
    As I spend a fair amount of time teaching Mathematica to students who have never done programming, having a list of terms to use for the language's typography - if only to be self-consistent - is very helpful.
    $endgroup$
    – bobthechemist
    1 hour ago












    $begingroup$
    @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
    $endgroup$
    – Roman
    4 secs ago




    $begingroup$
    @bobthechemist please feel free to add the way you would pronounce things to the list! I teach Mathematica too and would be keen to have a consistent list.
    $endgroup$
    – Roman
    4 secs ago











    3












    $begingroup$

    You could try using SpokenString:



    SpokenString[HoldForm[x + y /. x->2]]



    "x plus y slash dot x goes to 2"







    share|improve this answer









    $endgroup$


















      3












      $begingroup$

      You could try using SpokenString:



      SpokenString[HoldForm[x + y /. x->2]]



      "x plus y slash dot x goes to 2"







      share|improve this answer









      $endgroup$
















        3












        3








        3





        $begingroup$

        You could try using SpokenString:



        SpokenString[HoldForm[x + y /. x->2]]



        "x plus y slash dot x goes to 2"







        share|improve this answer









        $endgroup$



        You could try using SpokenString:



        SpokenString[HoldForm[x + y /. x->2]]



        "x plus y slash dot x goes to 2"








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 4 hours ago









        Carl WollCarl Woll

        76k3100198




        76k3100198






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematica Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f197175%2fhow-to-verbalise-code-in-mathematica%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Bundesstraße 106

            Verónica Boquete

            Ida-Boy-Ed-Garten