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


Groups > comp.programming > #10997

Re: are you interested in number theory AND programming

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From David Brown <david.brown@hesbynett.no>
Newsgroups comp.programming
Subject Re: are you interested in number theory AND programming
Date Fri, 26 Jun 2020 11:14:35 +0200
Organization A noiseless patient Spider
Lines 43
Message-ID <rd4e9s$ejq$1@dont-email.me> (permalink)
References <2122d884-f04b-42f8-b95a-a257b61fef86o@googlegroups.com> <3a3b6135-9e6e-42f5-8088-2774a660f504o@googlegroups.com> <87wo4bp8xo.fsf@bsb.me.uk> <f54e9e16-de6c-4c66-8b7e-fdf40ea290dbo@googlegroups.com> <87k10boswq.fsf@bsb.me.uk> <61c49983-9b6b-4f91-adf8-86aa33ada235o@googlegroups.com> <8b0924a3-e189-400c-825b-407a711f9947o@googlegroups.com> <b78ddb91-e90d-45ae-80dd-fa6be6834450o@googlegroups.com> <eef07186-19ab-4da7-b597-7db3314ff347o@googlegroups.com> <11604552-75ea-4a4b-86d2-e5747a9c6a0fo@googlegroups.com> <6d19d218-3a96-40da-aaf9-155882ed09b5o@googlegroups.com> <7d267127-1d8e-487f-a26f-7e21a6e2e6a4o@googlegroups.com> <599aa968-958c-4f03-868a-9ffd066aba4co@googlegroups.com> <8a04920a-8a6a-4b01-8749-20020b9d6fa0o@googlegroups.com> <c7c0f32a-d803-4665-a3d6-56497cd84582o@googlegroups.com> <e613930a-ce14-4a8b-9614-e5be4b6ba1aeo@googlegroups.com> <rd2v27$2b8$1@dont-email.me> <rd45nq$9o$1@dont-email.me> <7cebd76b-c1a2-4ecb-a73f-459002a56881o@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Injection-Date Fri, 26 Jun 2020 09:14:36 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="87b64f700f38a572b18911eb3dd73d1b"; logging-data="14970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jSP17NIaadziRDX6ej+1jqxSF+touAuc="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
Cancel-Lock sha1:c8iWv7mxGteYdSu7S1CPD4TYbTU=
In-Reply-To <7cebd76b-c1a2-4ecb-a73f-459002a56881o@googlegroups.com>
Content-Language en-GB
Xref csiph.com comp.programming:10997

Show key headers only | View raw


On 26/06/2020 10:58, James Dow Allen wrote:
> On the topic of computer languages whose names rhyme
> with 'Fortran' why has nobody mentioned Conway's Fractran?
>     https://en.wikipedia.org/wiki/FRACTRAN
> The example program:
>      17/91; 78/85; 19/51; 23/38; 29/33; 77/29; 95/23;
>      77/19; 1/17; 11/13; 13/11; 15/14; 15/2; 55/1;
> produces all the prime numbers!  (It's a good thing nobody
> added comments to this program -- though Turing-complete,
> Fractran is breathtakingly inefficient.)
> 
>  
> 
> On Friday, June 26, 2020 at 1:48:29 PM UTC+7, David Brown wrote:
>> On 25/06/2020 21:48, Richard Heathfield wrote:
>>> On 23/06/2020 13:14, James Dow Allen wrote:
>>>> I am a C fan myself, which makes me rather obsolescent compared
>>>> with the cool guys. :-)
>>>
>>> Not so. There is no language cooler than C. The C in C actually stands
>>> for Cool.
>>>
>>>> But I think almost any language would be
>>>> more FUN than Fortran.
>>> Unless you're writing a quine.
>>>
>>> "FORTRAN was the language of choice, for the same reason that
>>> three-legged races are popular."
>>>
>>
>> Didn't some FORTRAN systems let you change the value of 3 if you don't
>> like the usual one?
> 
> Some languages allowed that, IIRC.  I didn't know Fortran was one of them.

The easiest for this is, I think, Forth:

: 3 2 ;

There.  Now "3" is defined as word that pushes the value "2" on the stack.

I wonder why there is no obfuscated Forth competition?

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


Thread

are you interested in number theory AND programming syedanwarowais5@gmail.com - 2020-06-12 02:25 -0700
  Re: are you interested in number theory AND programming root <NoEMail@home.org> - 2020-06-12 14:26 +0000
    Re: are you interested in number theory AND programming syedanwarowais5@gmail.com - 2020-06-12 19:34 -0700
      Re: are you interested in number theory AND programming Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-13 11:16 +0100
        Re: are you interested in number theory AND programming syedanwarowais5@gmail.com - 2020-06-13 04:07 -0700
          Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-13 07:20 -0700
            Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-13 07:47 -0700
            Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-13 08:29 -0700
          Re: are you interested in number theory AND programming Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-13 17:02 +0100
            Re: are you interested in number theory AND programming syedanwarowais5@gmail.com - 2020-06-13 23:11 -0700
              Re: are you interested in number theory AND programming syedanwarowais5@gmail.com - 2020-06-13 23:23 -0700
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-17 00:55 -0700
                Re: are you interested in number theory AND programming Richard Heathfield <rjh@cpax.org.uk> - 2020-06-17 09:30 +0100
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-17 02:32 -0700
                Re: are you interested in number theory AND programming Richard Heathfield <rjh@cpax.org.uk> - 2020-06-20 08:26 +0100
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-20 03:58 -0700
                Re: are you interested in number theory AND programming Richard Heathfield <rjh@cpax.org.uk> - 2020-06-20 14:55 +0100
                Re: are you interested in number theory AND programming Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-17 23:11 +0100
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-20 04:44 -0700
                Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-20 06:27 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-21 17:31 -0700
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-22 02:00 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-22 05:34 -0700
                Re: are you interested in number theory AND programming root <NoEMail@home.org> - 2020-06-22 14:05 +0000
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-23 04:50 -0700
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-23 15:50 +0200
                Re: are you interested in number theory AND programming Chad <cdalten@gmail.com> - 2020-06-23 14:34 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-24 01:39 -0700
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-24 15:48 +0200
                Re: are you interested in number theory AND programming Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-24 13:52 +0100
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-24 16:00 +0200
                Re: are you interested in number theory AND programming Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-06-24 17:03 +0100
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-24 20:32 +0200
                Re: are you interested in number theory AND programming Chad <cdalten@gmail.com> - 2020-06-24 14:19 -0700
                Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-26 06:24 -0700
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-26 16:28 +0200
                Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-26 06:11 -0700
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-22 09:39 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-23 00:50 -0700
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-23 05:14 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-24 02:39 -0700
                Re: are you interested in number theory AND programming Richard Heathfield <rjh@cpax.org.uk> - 2020-06-25 20:48 +0100
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-26 08:48 +0200
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-06-26 01:25 -0700
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-26 11:10 +0200
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-26 03:56 -0700
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-26 13:34 +0200
                Re: are you interested in number theory AND programming Boris Dorestand <bdorestand@example.com> - 2020-06-27 11:22 -0300
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-27 17:50 +0200
                Re: are you interested in number theory AND programming Boris Dorestand <bdorestand@example.com> - 2020-06-27 13:42 -0300
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-07-04 18:44 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-07-09 19:51 -0700
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-07-10 05:32 -0700
                Re: are you interested in number theory AND programming syed owais <syedanwarowais5@gmail.com> - 2020-07-10 09:03 -0700
                Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-26 06:02 -0700
                Re: are you interested in number theory AND programming James Dow Allen <jdallen2000@yahoo.com> - 2020-06-26 01:58 -0700
                Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-26 11:14 +0200
                Re: are you interested in number theory AND programming Richard Damon <Richard@Damon-Family.org> - 2020-06-26 13:10 -0400
                Re: are you interested in number theory AND programming Julio Di Egidio <julio@diegidio.name> - 2020-06-26 06:12 -0700
          Re: are you interested in number theory AND programming David Brown <david.brown@hesbynett.no> - 2020-06-13 23:28 +0200

csiph-web