Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5111

Re: python..

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.programming
Subject Re: python..
Date Mon, 12 Jan 2015 17:49:12 +0000
Organization none
Lines 25
Message-ID <87vbkb51pj.fsf@ixod.org> (permalink)
References <0af26812-0c8a-4459-a495-f0097939fe5f@googlegroups.com> <m90vt5$s3n$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="1b3e5cba9e4d07a53741e6f3d1717925"; logging-data="23404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mZU3nXgDc/7Vq7xbEfg8r"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:Ne51hNkhI81cQQXF9arEao7ErzI= sha1:GGSM8b2+tAhH7Ej4FxCLa9w0SA8=
Xref csiph.com comp.programming:5111

Show key headers only | View raw


Mok-Kong Shen <mok-kong.shen@t-online.de> writes:
(snip)
> If you have algorithms to implement that need big integers, then Python
> is in my personal experience the best language to use, since you can
> simply employ the common arithmetic operators.
(snip)

While I generally agree with the rest of your article, it's worth noting
that this feature isn't actually all that unusual: for instance, I
mentioned Erlang in this thread, that's just the same:

1> 12312425346256765374684238375938743 * 3248593486436262526624534316562252.
39998064782082472270063499350743119830535735017989634112753098129236

Haskell seems to agree,

Prelude> 12312425346256765374684238375938743 * 3248593486436262526624534316562252
39998064782082472270063499350743119830535735017989634112753098129236

and lets you do list comprehensions just as in Python.

One thing that pains me in Java is I can't even easily define a function
that takes Number x and Number y and returns x + y.

-- Mark

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

python.. fir <profesor.fir@gmail.com> - 2015-01-06 06:20 -0800
  Re: python.. malcolm.mclean5@btinternet.com - 2015-01-06 11:24 -0800
    Re: python.. fir <profesor.fir@gmail.com> - 2015-01-06 16:32 -0800
    Re: python.. BartC <bc@freeuk.com> - 2015-01-09 13:02 +0000
  Re: python.. Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-01-12 18:22 +0100
    Re: python.. Mark Carroll <mtbc@bcs.org> - 2015-01-12 17:49 +0000
      Re: python.. malcolm.mclean5@btinternet.com - 2015-01-13 16:09 -0800
        Re: python.. Robert Wessel <robertwessel2@yahoo.com> - 2015-01-15 02:43 -0600
        Re: python.. Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-01-20 13:02 +0100
          Re: python.. Kaz Kylheku <kaz@kylheku.com> - 2015-01-20 19:25 +0000
            Re: python.. Kaz Kylheku <kaz@kylheku.com> - 2015-01-20 19:26 +0000
            Re: python.. malcolm.mclean5@btinternet.com - 2015-01-21 17:39 -0800
              Re: python.. Kaz Kylheku <kaz@kylheku.com> - 2015-01-22 02:29 +0000
    Re: python.. fir <profesor.fir@gmail.com> - 2015-01-12 10:53 -0800
      Re: python.. Mok-Kong Shen <mok-kong.shen@t-online.de> - 2015-01-13 18:29 +0100
        Re: python.. BartC <bc@freeuk.com> - 2015-01-13 18:15 +0000
        Re: python.. fir <profesor.fir@gmail.com> - 2015-01-13 15:16 -0800
          Re: python.. Philip Shaw <jnufcvyvuc@tznvy.pbz> - 2015-01-23 04:46 +0000

csiph-web