Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Misc > Re: Advantages ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 14 Topic 954 of 1011
Post > Topic >>

Re: Advantages of OOP

by Miss Elaine Eos <Misc@[EMAIL PROTECTED] > Oct 30, 2007 at 02:59 AM

In article <Xns99D9F3A56BDFantontxtgmailcom@[EMAIL PROTECTED]
>,
 Anton <anton.txt@[EMAIL PROTECTED]
> wrote:

> > Note that you can do OOP in PP, without any language helpfulness.

> That's interesting! Is there a way to "emulate" simple incapsulation?

FWIW, you en emulate the entire thing.

Back when C++ was young, a C++ compiler was really a front-end script 
called "cfront", which converted your C++ source code to C-source, then 
the old c compiler, which compiled the C code.

So, anything you can do in C++, you can do in C.

Actually, that's pretty much true of any language since, you can write a 
C-compiler/interpreter for pretty much any language, then run your 
other-language source code through it!

So, in the very-extreme case, you could make up whatever construct you 
want, then write a mini (or not ;) compiler/front-end for it, and have a 
many or few of these sorts of constructs as you like.

-- 
Please take off your pants or I won't read your e-mail.
I will not, no matter how "good" the deal, patronise any business which
sends
unsolicited commercial e-mail or that advertises in discussion newsgroups.
 




 14 Posts in Topic:
Advantages of OOP
anton.txt@[EMAIL PROTECTE  2007-10-28 05:15:13 
Re: Advantages of OOP
Miss Elaine Eos <Misc@  2007-10-28 14:07:23 
Re: Advantages of OOP
Antonius <anton.txt@[E  2007-10-28 07:55:04 
Re: Advantages of OOP
Miss Elaine Eos <Misc@  2007-10-29 03:59:55 
Re: Advantages of OOP
"Serve Lau" <  2007-10-29 15:16:04 
Re: Advantages of OOP
Anton <anton.txt@[EMAI  2007-10-29 22:29:57 
Re: Advantages of OOP
"Serve Lau" <  2007-11-02 19:37:47 
Re: Advantages of OOP
"Serve Lau" <  2007-11-02 19:42:35 
Re: Advantages of OOP
Anton <anton.txt@[EMAI  2007-11-03 00:26:27 
Re: Advantages of OOP
"Serve Lau" <  2007-11-03 12:27:13 
Re: Advantages of OOP
Anton <anton.txt@[EMAI  2007-10-29 22:29:49 
Re: Advantages of OOP
Miss Elaine Eos <Misc@  2007-10-30 02:59:02 
Re: Advantages of OOP
<ear@[EMAIL PROTECTED]  2007-11-14 11:32:38 
Re: Advantages of OOP
Antonius <anton.txt@[E  2007-11-15 05:23:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:47:53 CDT 2008.