Re: [DNG] OT: some ancient programming language history

2015-07-29 Thread Nuno Magalhães
On Mon, Jul 27, 2015 at 5:16 PM, Lars Noodén lars.noo...@gmail.com wrote: IIRC the Icon programming language had an exchange operator to swap the contents of two variables. a :=: b C: a = a ^ b; b = a ^ b; a = a ^ b; Much more fun. Them :=: look like weird emoticons. -- On the

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Didier Kryn
T.J, would you please try to put dyne.org as To instead of CC, in the destination? I think it would enable the button reply to the list in Thunderbird. Le 27/07/2015 02:28, T.J. Duchene a écrit : The affectation operator is := instead of = in C, and the comparison are = (instead

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Didier Kryn
Le 27/07/2015 17:45, Renaud (Ron) OLGIATI a écrit : On Mon, 27 Jul 2015 11:20:03 -0400 Renaud (Ron) OLGIATI ren...@olgiati-in-paraguay.org wrote: Or, as in APL, use = for assignment You mean like in b+c = a ? Interesting because assignment is an invention of imperative languages

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Lars Noodén
On 07/27/2015 07:07 PM, Didier Kryn wrote: Le 27/07/2015 17:45, Renaud (Ron) OLGIATI a écrit : On Mon, 27 Jul 2015 11:20:03 -0400 Renaud (Ron) OLGIATI ren...@olgiati-in-paraguay.org wrote: Or, as in APL, use = for assignment You mean like in b+c = a ? Interesting because

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Hendrik Boom
On Sun, Jul 26, 2015 at 11:58:55PM +0200, Didier Kryn wrote: ... The affectation operator is := instead of = in C, and the comparison are = (instead of ==) and /= instead of != . The bad choice of operators, together with other tricks is probably the main source of bugs in C programs. It

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Ron
On Mon, 27 Jul 2015 11:20:03 -0400 Renaud (Ron) OLGIATI ren...@olgiati-in-paraguay.org wrote: Or, as in APL, use = for assignment Sorry, read use A (left arrow) 1 2 3 4 for assignment Cheers, Ron. -- And it should be the law: If you use the word `paradigm' without knowing what

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Ron
On Mon, 27 Jul 2015 10:32:06 -0400 Hendrik Boom hend...@topoi.pooq.com wrote: But if you frequently change languages, you rapidly find: = is a bad choice for assignment, because it also means equality. = is a bad choice for equality, because it also means assignment. So the only sane

Re: [DNG] OT: some ancient programming language history

2015-07-27 Thread Ron
On Mon, 27 Jul 2015 18:07:30 +0200 Didier Kryn k...@in2p3.fr wrote: use A (left arrow) 1 2 3 4 for assignment Don't understand what you mean :-) (letter A) (left arrow symbol) (one or several values or variables) You mean like in b+c = a ? that would be: (letter a) (left

Re: [DNG] OT: some ancient programming language history

2015-07-26 Thread T.J. Duchene
On 07/26/2015 11:08 AM, Hendrik Boom wrote: I also had a long discussion with some of the guys in charge of the ADA project -- they really wanted the security that comes from completely automatic storage management but they couldn't afford to have their weapons systems stop for garbage

Re: [DNG] OT: some ancient programming language history

2015-07-26 Thread Miles Fidelman
T.J. Duchene wrote: ADA! I remember that! I've not used it in the better part of 20 years. Nicely designed language for its time - and very strict. Having learned C in advance of ADA, I never liked its Pascal style operators. Too bad the only one who really uses it in the US is the

Re: [DNG] OT: some ancient programming language history

2015-07-26 Thread Didier Kryn
Le 26/07/2015 20:19, T.J. Duchene a écrit : On 07/26/2015 11:08 AM, Hendrik Boom wrote: I also had a long discussion with some of the guys in charge of the ADA project -- they really wanted the security that comes from completely automatic storage management but they couldn't afford to have

Re: [DNG] OT: some ancient programming language history

2015-07-26 Thread T.J. Duchene
On Sun, 2015-07-26 at 23:58 +0200, Didier Kryn wrote: Ada is not an acronym, it's after the first name of the first person who wrote programs, the daughter of Byron, the english poet. Yes, I know. Ada is used in many places where human life is at stake: eg. planes, missiles,

[DNG] OT: some ancient programming language history

2015-07-26 Thread Hendrik Boom
On Sun, Jul 26, 2015 at 04:52:10PM +0200, Didier Kryn wrote: Le 25/07/2015 20:55, Hendrik Boom a écrit : ... This really violates the standing principle of paying for only what you use. I encountered this principle long ago when I got involved in the design and implementation of Algol 68 --