Michael Fowler wrote:
> > C++ is not a language tied up to serious projects!
>
> I'm not sure if you mean that it isn't, or it shouldn't be. If you mean it
> isn't, I would give you the many projects expressed in C++ as examples. If
> you meant it shouldn't be, that's personal opinion, and I would give you the
> many projects expressed in C++ as examples. :)
>
> > I known it sounds like a prejudice, but........
>
> It's only prejudice if you've never used C++.
I have used C++! I learnt programming for the first time with C++!
I went crazy! It's pretty hard to understand for a beginner!
What about templates? I have never seen anything mor difficult to
understand than that! In C, you can use void *, pretty much easier!
Currently i am writing a lib to aid programmer. It's only in C! Not C++!
If you want i can sent it to you, it's clean, fast, very fast, and easy
to understand and mantain.
I don't even have to think about writing it in C++!
>
> > C++ code is harder to mantain that C! Not to mention how compilcated it
> > is to understand.....
>
> C++ is generally harder to maintain if you've been steeped in the C school
> of thought. C++ is, generally, easier to maintain if you know and like OO;
> it provide features for encapsulating data and only using a published
> interface, which -can- make a large project easier to maintain. Languages
> such as C encourage you to manipulate data structures manually, leading to
> complications when data structures change (as they inevitably do, in large
> projects). This is a generality; one can encapsulate data in C (by passing
> around a data structure as if it were an object), and totally ignore C++'s
> encapsulation.
>
> On the other hand, some of C++ can be terribly complex. The rules for
> determining what overloaded function to use, or for automatically casting a
> data type, are so filled with nuances, exceptions, and rules to remember
> that I wouldn't wish it on my worst enemy.
C++ has a serious problem with speed! specially if you get into OO code!
Not to mention template.
> The moral of this email is, each language has its place, and most langauges
> out there are suited to doing just about everything a programmer would like.
> It's the gray matter wandering around that imposes restrictions on what a
> language can be used for. Some languages are probably ill-suited to some
> things for efficiency reasons (writing an OS in Tcl is probably not a good
> idea) but this is a discussion about maintainability, not so much
> efficiency.
>
> Blackbox does well being expressed in C++. This is not a commentary on C++,
> but a commentary on the programmers involved with blackbox, who have put
> thought and effort into making the code maintainable. Any program, written
> in any language, can be made maintainable or unmaintainable. It takes
> thought and effort to make things a pleasure to work with. Surprise
> surprise, programming is not simply knowing a language, but knowing how to
> express yourself in that language clearly and concisely.
I believe that Mads Martin J�rgensen got me wrong! Please, excuse me if
i offendef you! I am sorry.
Don't get me wrong! When i mean C++ is not tied up to serious projects,
does not mean that it is what i said, but just my *PERSONAL OPNION*
about it!
I have never seen things that need to be mantained (and that things are
not big project), be fast and reliable written in C++! BB is the first.
Have you ever seen a web server in C++? An operating system in C++ a
ftpserver in C++ ? i never!
So that it! I would just enforce again: I really enjoy blackbox, it's
THE wm for X environment. But when you need to handle about 100 user on
X, every bit of bits you can cut out is welcome, so C is the language of
choice!
I jsut get surprised with the fact of BB being written in C++!
Just to make things clear: Linux is a robust, and fast OS, but due to
its design it does not handle heavy load demands. So what you do? Buy
hardware or swtich to a Free/OpenBSD environment. Cause, they were
design to handle stupid load demands.
I am always seeking for software the respect my limitation of
memory/cpu. We were used to WindowMaker, but after all that "plugins" it
was time to come to BB, cause it's small, fast low load, etc....
I just believe it could be even better if written in C.
just my 2 cents.....