Re: Choice of languages
- From: bob kehs ksd org
- To: Nate Cull <culln xtra co nz>
- cc: gnome-list gnome org, recipient list not shown: ;
- Subject: Re: Choice of languages
- Date: Tue, 18 May 1999 21:12:12 -0700 (PDT)
not to sound critical, but c dosnt even have a string datatype and there
is no way to define one...
That being said, the advanced math can be coded far easier in c++ then it
can in c because of classes...
sorry about the flame bait... just didnt see what the point about no
advanced math...
C++ can use c code but c cant really use c++ code... hmm...
Any way, I think we are getting too sidetraked from the ariginal email.
Can anyone explain why c is prefered to c++ for most unix projects? I
would like to know...
On Wed, 19 May 1999, Nate Cull wrote:
> > C++ is fairly useless without advanced math - Modern Algebra comes to mind.
> > Without the concepts developed in that couse, C++ is still ultimately a
> > procedural language (at least here at Texas A&M University). Object
> > orientation is the core of mathematics. Not many people in computer science
> > have that kind of background (again, at least here at TAMU). To expect that
> > kind of knowledge is not (IMHO) reasonable in an open source environment.
>
>
> Huh?
>
> I know nothing of advanced math (show me a vector equation and I'll show you
> some squiggly lines), but I understand OOP just fine. At least, I thought I
> did. Inheritance, binding, message passing... What has any of that stuff got
> to do with math? It's completely unrelated as far as I can see.
>
> Okay, I'm no kernel hacker, and I haven't touched C++, but I'm at least
> familiar with Java, Delphi, Jade (fairly new OOP database; you might know it,
> might not) and (broken as it is) the Visual Basic object model. It all
> seems pretty simple and straightforward: objects are just data structures with
> attitude, they inherit methods and properties, you instantiate them with
> x = new Frob(), you go x.method(bar, baz) and test x.property ==
> value. Then you (manually or automatically) delete the instance of x to
> reclaim memory. Properties behave like variables, methods like
> functions. Specific implementation details vary depending on the language,
> but that's the core of it. If you can handle a struct in C, you can handle
> a class in C++.
>
> What dark secret am I missing?
>
> Nate
> (who's admittedly way out of practice and really needs to start coding again)
> --
> ----------------------------------------------------------
> nate cull culln@xtra.co.nz http://members.xoom.com/culln
> Conspire, subvert, defy, rebel, believe. Linux.
> ----------------------------------------------------------
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]