Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C Programming (http://www.velocityreviews.com/forums/f42-c-programming.html)
-   -   John McCarthy died today. (http://www.velocityreviews.com/forums/t755084-john-mccarthy-died-today.html)

Kaz Kylheku 10-25-2011 12:44 AM

John McCarthy died today.
 
He must have been waiting to outlive someone who perverted his inventions
with dumb syntax:

(if cond then else) -> cond ? then : else

Nick Keighley 10-25-2011 08:27 AM

Re: John McCarthy died today.
 
On Oct 25, 1:44*am, Kaz Kylheku <k...@kylheku.com> wrote:

> He must have been waiting to outlive someone who perverted his inventions
> with dumb syntax:
>
> * (if cond then else) * -> * *cond ? then : else


seems to be a bad month for progammers

Kleuskes & Moos 10-25-2011 09:27 AM

Re: John McCarthy died today.
 
On Tue, 25 Oct 2011 00:44:13 +0000, Kaz Kylheku wrote:

> He must have been waiting to outlive someone who perverted his
> inventions with dumb syntax:
>
> (if cond then else) -> cond ? then : else


Requiescat in Pace.

-------------------------------------------------------------------------------
_____________________________
< I want a WESSON OIL lease!! >
-----------------------------
\
\
___
{~._.~}
( Y )
()~*~()
(_)-(_)
-------------------------------------------------------------------------------

Ben Bacarisse 10-25-2011 10:27 AM

Re: John McCarthy died today.
 
Kaz Kylheku <kaz@kylheku.com> writes:

> He must have been waiting to outlive someone who perverted his inventions
> with dumb syntax:
>
> (if cond then else) -> cond ? then : else


How quickly people forget! Originally (cond (c then) (t else)). John
McCarthy might well have considered (if ...) to be a perversion of his
invention!

--
Ben.

Ark 10-29-2011 05:33 PM

Re: John McCarthy died today.
 
On 10/24/2011 8:44 PM, Kaz Kylheku wrote:
> He must have been waiting to outlive someone who perverted his inventions
> with dumb syntax:
>
> (if cond then else) -> cond ? then : else


Re dumb syntax - in the eye of the beholder.
The ternary syntax is an /expression/ with type and value and, when used
on (symbolic) constants is indispensable in static initialization, in
particular, of const objects.
--
Ark

Willem 10-29-2011 05:51 PM

Re: John McCarthy died today.
 
Ark wrote:
) On 10/24/2011 8:44 PM, Kaz Kylheku wrote:
)> He must have been waiting to outlive someone who perverted his inventions
)> with dumb syntax:
)>
)> (if cond then else) -> cond ? then : else
)
) Re dumb syntax - in the eye of the beholder.
) The ternary syntax is an /expression/ with type and value and, when used
) on (symbolic) constants is indispensable in static initialization, in
) particular, of const objects.

(if cond then else) is *also* an expression with type and value, stupid.


SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT

Phil Carmody 10-29-2011 06:28 PM

Re: John McCarthy died today.
 
Willem <willem@toad.stack.nl> writes:
> Ark wrote:
> ) On 10/24/2011 8:44 PM, Kaz Kylheku wrote:
> )> He must have been waiting to outlive someone who perverted his inventions
> )> with dumb syntax:
> )>
> )> (if cond then else) -> cond ? then : else
> )
> ) Re dumb syntax - in the eye of the beholder.
> ) The ternary syntax is an /expression/ with type and value and, when used
> ) on (symbolic) constants is indispensable in static initialization, in
> ) particular, of const objects.
>
> (if cond then else) is *also* an expression with type and value, stupid.


I'm not sure I see anything by Ark that contradicts that, in particular as he
says precisely nothing about the lisp form.

Phil
--
Unix is simple. It just takes a genius to understand its simplicity
-- Dennis Ritchie (1941-2011), Unix Co-Creator

Keith Thompson 10-29-2011 06:57 PM

Re: John McCarthy died today.
 
Willem <willem@toad.stack.nl> writes:
> Ark wrote:
> ) On 10/24/2011 8:44 PM, Kaz Kylheku wrote:
> )> He must have been waiting to outlive someone who perverted his inventions
> )> with dumb syntax:
> )>
> )> (if cond then else) -> cond ? then : else
> )
> ) Re dumb syntax - in the eye of the beholder.
> ) The ternary syntax is an /expression/ with type and value and, when used
> ) on (symbolic) constants is indispensable in static initialization, in
> ) particular, of const objects.
>
> (if cond then else) is *also* an expression with type and value, stupid.


Perhaps you could express technical disagreements without calling
people stupid -- especially in a thread about the death of a
programming language pioneer.

--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"

Nick Keighley 10-30-2011 03:20 PM

Re: John McCarthy died today.
 
On Oct 29, 6:57*pm, Keith Thompson <ks...@mib.org> wrote:
> Willem <wil...@toad.stack.nl> writes:
> > Ark wrote:
> > ) On 10/24/2011 8:44 PM, Kaz Kylheku wrote:
> > )> He must have been waiting to outlive someone who perverted his inventions
> > )> with dumb syntax:
> > )>
> > )> * *(if cond then else) * -> * * cond ? then : else
> > )
> > ) Re dumb syntax - in the eye of the beholder.
> > ) The ternary syntax is an /expression/ with type and value and, when used
> > ) on (symbolic) constants is indispensable in static initialization, in
> > ) particular, of const objects.

>
> > *(if cond then else) *is *also* an expression with type and value, stupid.

>
> Perhaps you could express technical disagreements without calling
> people stupid -- especially in a thread about the death of a
> programming language pioneer.


"dumb syntax" wasn'texactly a good start

Ark 11-04-2011 09:20 AM

Re: John McCarthy died today.
 


On 10/29/2011 1:51 PM, Willem wrote:
> Ark wrote:
> ) On 10/24/2011 8:44 PM, Kaz Kylheku wrote:
> )> He must have been waiting to outlive someone who perverted his inventions
> )> with dumb syntax:
> )>
> )> (if cond then else) -> cond ? then : else
> )
> ) Re dumb syntax - in the eye of the beholder.
> ) The ternary syntax is an /expression/ with type and value and, when used
> ) on (symbolic) constants is indispensable in static initialization, in
> ) particular, of const objects.
>
> (if cond then else) is *also* an expression with type and value, stupid.
>
>
> SaSW, Willem


A distinction between expression and type-and-value-less statement is a
Good Thing, perhaps contrary to what purists might say. The fact that in
C (and descendants) the assignment operator is an expression is indeed
unfortunate and has lead to innumerable bugs stemming from clever
coding. So there, smart Willem.


All times are GMT. The time now is 05:50 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57