MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Series[log[x], {x, 0, 3}]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119194] Re: Series[log[x], {x, 0, 3}]
  • From: Helen Read <readhpr at gmail.com>
  • Date: Tue, 24 May 2011 05:59:43 -0400 (EDT)
  • References: <irdcl9$3m1$1@smc.vnet.net>

On 5/23/2011 6:24 AM, Bill Rowe wrote:
> On 5/22/11 at 6:55 AM, hszhao.cn at gmail.com (Hongsheng Zhao) wrote:
>
> While I cannot speak for DrMajorBob, my reason for using the
> notation f@x rather than f[x] is primarily readability. Constrast
>
> Sqrt[Abs[Sin[x]]]
>
> with Sqrt[Abs@Sin@x]
>
> Both do the same, but for me, it is easier to see what the
> second form does than the first. Deeply nested brackets are more
> difficult for me to read. And there is the additional factor of
> less typing required for the second form.

Each to his/her own. Personally I far prefer the nested brackets, which 
to me is more readable -- it's closer to familiar written mathematical 
notation, and it's clear where each function ends.

And I don't see how the @ sign results in any less typing.

@  requires pressing two keys simultaneously, Shift+2

[ ] requires two keys (one at a time), the [ and ]
or two keys simultaneously Alt+]  to get matched brackets


-- 
Helen Read
University of Vermont


  • Prev by Date: Re: Maximize a single variable and solve for the rest
  • Next by Date: Bug: Combinatorica Neighborhood doesn't do anything.
  • Previous by thread: Re: Series[log[x], {x, 0, 3}]
  • Next by thread: Re: Series[log[x], {x, 0, 3}]