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

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.programming
Subject Re: are you interested in number theory AND programming
Date 2020-06-26 11:14 +0200
Organization A noiseless patient Spider
Message-ID <rd4e9s$ejq$1@dont-email.me> (permalink)
References (14 earlier) <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>

Show all headers | 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