MathGroup Archive 2005

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

Search the Archive

Re: Types in Mathematica

Kristjan Kannike wrote:

> On Fri, 18 Nov 2005, John Doty wrote:
> [snip]
>>Try defining an "argument" that operates on its "function" in any other
>>language. Of course few Mathematica programmers would do anything this
> But is it not just operator overloading? In Python, for example, adding
> numbers with + gives a number, but "adding" two lists with + concatenates
> them. 

Misleading, because, in the following...

> Of course, in a Python class one can define it only for given
> methods and in Mathematica for any function. But the essence is the same
> and quite analogous.

.... the second sentence contradicts the first. The mechanisms of Python 
are essentially procedural and therefore require "given methods". 
Profoundly and fundamentally different from Mathematica.


  • Prev by Date: Re: Hardcopy or electronic books?
  • Next by Date: Re: Types in Mathematica
  • Previous by thread: Re: Re: Types in Mathematica
  • Next by thread: Re: Types in Mathematica