discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: of applications for gnustep...


From: Pascal Bourguignon
Subject: Re: of applications for gnustep...
Date: Mon, 16 Jun 2003 21:17:23 +0200

Chris B. Vetter writes:
> You do NOT mix two DIFFERENT languages in ONE source file. C++ and
> Objective-C may have a common 'foundation', C, and are therefor
> _related_ -- yet they are DIFFERENT.

Je  ne dis  pas  que  je ne  suis  pas d'accord,  but  humans can  mix
languages,e ven in the same sentence.  And of course, there are a load
of  mixed languages:  look how  some HTML  pages are  genrated, PRO*C,
PRO*COBOL  etc  who allow  to  insert  SQL  statements into  a  normal
programming language.

Anyway, to begin with Objective-C, this is a big nice mix of C, and of
Objective-C  constructs.   That's why  you  can  use  stdio.h from  an
Objective-C for example.  Objective-C++ is a natural extension that is
justified  when you  have to  use  C++ libraries  from an  Objective-C
program, like you're justified to  use a C library from an Objective-C
program.
 

> Ever thought of mixing Pascal and Modula-3 in one source file?
> Probably not. Why not? They too are related?!

First the familly tree is like that:

                  Algol
                    |
                    |
                 Pascal
                  /  \
                 /    \
       ObjectPascal  Modula-2   
           (Delphi)    |
                       |
                     Modula-3

So, the question would be if you would want to mixe Object-Pascal with
Modula-2 and the answer is definitely yes! (and you get Modula-3).




-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
Do not adjust your mind, there is a fault in reality.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]