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
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.
> http://i.imgur.com/1gF1j.jpg
Very funny, except where is Python and Forth?
-- Gnarlie
> 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
> 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
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
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.