On Mar 13, 1:28=A0am, Richard Heathfield <r...@[EMAIL PROTECTED]
> wrote:
> Chris ( Val ) said:
>
> <snip>
>
> > Do you think writing a library in 'C' is easier than using C++?
>
> Yes, absolutely. Much, much, much, much easier, with la****ngs of
cleaner,
> lightly saute'd pleasanter, and a tasteful side salad of simpler.
I disagree, and you don't really believe it yourself :)
Earlier you were talking up how your function was convenient
because it saved one line of typing, and here you advocate
creating a library.
Also, please do not snip out too much context, because the OP
clearly states...
<QUOTE>
> Now that I'm more aware of the project and what is going on, and
consideri=
ng
> that those of us involved haven't used C++ or C before, I've found that
> what we want to do could have been done in a much simpler way and could
> have been done in C instead. Basically it could have been put into a
> library without any need to use OOP.
</QUOTE>
=2E..that they haven't even used C (OR) C++ before, and it is in that
context to which I addressed my question.
> > Btw, C++ is a multi paradigm language and not OOP specific.
>
> And yet, when people post code that is not in line with your perception
of=
> OOP best practice, you criticise it on that basis. Seriously, Chris, you
> might want to think about this inconsistency.
Richard, you are completely wrong, and there *is no inconsistency*
with my answers. You have a serious problem if no one can ever
question the code you write - You aren't always right you know!
****like you and everybody else passionate about programming****
I put into my answer some of what I *know* to be right, some of what
I believe is right (from what I learnt during my time in UNI), as well
as the experience I have gained on the job thus far.
You are not any different in this regard.
> Man wanna use gets, I tell him bad dog no biscuit. Some things are so
> broken that they are wrong by definition.
>
> But man wanna use strncpy or strtok or using namespace std, I tell him
goo=
d
> luck, here's how it works, here are the gotchas to watch out for, be
> careful out there.
>
> It's not our job to pick people's paradiggums or languages for them.
Wrong!
What you fail to understand (or accept) about C++, is that it is a
powerful
language, and it *promotes* the use of OOD and OOP, so when someone
posts
a question about C++, chances are that they are using a class and
writing
an OOP, and chances are that more often than not, then answers
provided
will involve the discussion of OOD.
--
Chris Val


|