Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Programing family

0 views
Skip to first unread message

rodrick brown

unread,
Feb 9, 2010, 4:13:35 PM2/9/10
to AON LAZIO, pytho...@python.org
Don't forget his little brother Go!

Sent from my iPhone 3GS.

On Feb 8, 2010, at 8:39 PM, AON LAZIO <aonl...@gmail.com> wrote:

> I have thought funny things
> If we think all languages are like a family
> I could draft them like this (Python base)
>
> C is Python's Mom
> C++ : Dad
> Pascal/Assembly : Grandparents
> C# : Uncle
> Java : Ant
> Ruby: Cousin
> Perl : Girlfriend
>
>
> What u guys think? XD
> --
> Passion is my style
> --
> http://mail.python.org/mailman/listinfo/python-list

Bruno Desthuilliers

unread,
Feb 9, 2010, 4:49:21 PM2/9/10
to
On Feb 8, 2010, at 8:39 PM, AON LAZIO <aonl...@gmail.com> wrote:
>
>> I have thought funny things
>> If we think all languages are like a family

Then it would be a very incestuous family fore sure.

>> I could draft them like this (Python base)
>>
>> C is Python's Mom
>> C++ : Dad

Not that much C++ in Python, IMHO. If that's for the OO part, then the
closer to Python's object model I can think of is javascript.

Historically, Python comes from ABC, which itself comes from SETL.

>> Pascal/Assembly : Grandparents

Assembly ? What about binary machine code then ?-)

>> C# : Uncle
>> Java : Ant

Interesting typo here !-)

Hmmm... Python predates both C# and Java. Ok, technically speaking
nothing prevents an uncle or aunt from being younger than their nephews,
and I even saw the case a couple time - but that's far from being the
common case.

>> Ruby: Cousin
>> Perl : Girlfriend

Then it's kind of a very passionate love-hate relationship - bordering
on pathological FWIW !-)

Now you forgot the whole Lisp / ML heritage - most FP stuff -, and of
course Simula and Smalltalk.

Paul Rubin

unread,
Feb 9, 2010, 4:56:14 PM2/9/10
to
Bruno Desthuilliers <bruno.42.de...@websiteburo.invalid> writes:
> Now you forgot the whole Lisp / ML heritage - most FP stuff -, and of
> course Simula and Smalltalk.

http://i.imgur.com/1gF1j.jpg

Gnarlodious

unread,
Feb 9, 2010, 6:58:19 PM2/9/10
to
On Feb 9, 9:56 am, Paul Rubin wrote:

> http://i.imgur.com/1gF1j.jpg

Very funny, except where is Python and Forth?

-- Gnarlie

Gabriel Genellina

unread,
Feb 9, 2010, 9:50:53 PM2/9/10
to pytho...@python.org
En Mon, 08 Feb 2010 22:39:58 -0300, AON LAZIO <aonl...@gmail.com>
escribi�:

> I have thought funny things
> If we think all languages are like a family

> I could draft them like this (Python base)

Have a look at:
http://oreilly.com/news/languageposter_0504.html

--
Gabriel Genellina

Steven D'Aprano

unread,
Feb 9, 2010, 11:31:32 PM2/9/10
to
On Tue, 09 Feb 2010 17:49:21 +0100, Bruno Desthuilliers wrote:

> On Feb 8, 2010, at 8:39 PM, AON LAZIO <aonl...@gmail.com> wrote:
>>
>>> I have thought funny things
>>> If we think all languages are like a family
>
> Then it would be a very incestuous family fore sure.
>
>>> I could draft them like this (Python base)
>>>
>>> C is Python's Mom
>>> C++ : Dad
>
> Not that much C++ in Python, IMHO. If that's for the OO part, then the
> closer to Python's object model I can think of is javascript.

I thought that Javascript didn't even have inheritance until recently?
Like in the last year?

> Historically, Python comes from ABC, which itself comes from SETL.
>
>>> Pascal/Assembly : Grandparents
>
> Assembly ? What about binary machine code then ?-)


I'd say assembly is more like the distant answer, back when we still had
tails and lived in trees and worried about being eaten by eagles.


>>> C# : Uncle
>>> Java : Ant
>
> Interesting typo here !-)
>
> Hmmm... Python predates both C# and Java. Ok, technically speaking
> nothing prevents an uncle or aunt from being younger than their nephews,
> and I even saw the case a couple time - but that's far from being the
> common case.
>
>>> Ruby: Cousin
>>> Perl : Girlfriend
>
> Then it's kind of a very passionate love-hate relationship - bordering
> on pathological FWIW !-)

I'd say that the girlfriend is more likely Lisp or Haskell -- some of the
more functional aspects of Python have been inspired by these languages.

> Now you forgot the whole Lisp / ML heritage - most FP stuff -, and of
> course Simula and Smalltalk.

--
Steven

Terry Reedy

unread,
Feb 10, 2010, 2:04:43 AM2/10/10
to pytho...@python.org

>>> C is Python's Mom
>>> C++ : Dad

Obviously no. The other parent might be arguably be Barbara Liskov's
CLU, itself based on Algol.

http://en.wikipedia.org/wiki/CLU_%28programming_language%29

CLU contributions:
The basic object model, including mutable/immutable
The function call-by-object model
Iterators/generators/yield
Multiple assignment and function returns

Terry Jan Reedy

Bruno Desthuilliers

unread,
Feb 10, 2010, 9:28:20 AM2/10/10
to
Steven D'Aprano a écrit :

> On Tue, 09 Feb 2010 17:49:21 +0100, Bruno Desthuilliers wrote:
>
>> Not that much C++ in Python, IMHO. If that's for the OO part, then the
>> closer to Python's object model I can think of is javascript.
>
> I thought that Javascript didn't even have inheritance until recently?

If you mean "class inheritance", it's obviously not something you'd
expect to find in a prototype based language. But inheritance works with
prototypes too.

0 new messages