Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: Problem overloading a System function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129379] Re: Problem overloading a System function
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Thu, 10 Jan 2013 02:19:53 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kcisat$41h$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 1/8/2013 10:39 PM, klevasseur at mac.com wrote:
> Background to my question:  Al Hibbard and I have developed the AbstractAlgebra
>package (https://sites.google.com/site/eaamhl/home ) and over the years,
>some of our names have been usurped by Wolfram for System functions.

Hi;

Thanks for your package. But you really should not have used UpperCase
first letter for names of your functions or variables, since this can
cause conflict with Mathematica's  own names, as your example shows.

It is well known that Mathematica uses UpperCase for all its system functions
and symbols. Any one writing a package, even though the package has its own
context, should really consider using only lowerCase starting letter in
the name.

--Nasser



  • Prev by Date: Re: Vertical Scrollbars Unresponsive in Pane
  • Next by Date: Re: Precision
  • Previous by thread: Problem overloading a System function
  • Next by thread: ListLinePlot: Transform labels from numeric to text