Re: [C] strlen, strcat and malloc

From: Alwyn (dt015a1979_at_mac.com.invalid)
Date: 07/30/04


Date: Fri, 30 Jul 2004 11:36:20 +0100

In article <2muecfFqq6njU1@uni-berlin.de>, Fatted <obeseted@yahoo.com>
wrote:

> Alwyn wrote:
> > In article
> > <Pine.LNX.4.60-041.0407291146130.28809@unix42.andrew.cmu.edu>, Arthur
> > J. O'Dwyer <ajo@nospam.andrew.cmu.edu> wrote:
>
> > The OP has been doing this kind of thing since I joined this newsgroup,
> > despite repeatedly having his mistakes explained to him.
> >
> > Fatted, move on to Python or Ruby or a myriad other languages I could
> > mention. Their string handling is a lot more intuitive and elegant.
>
> Thats very generous of you. I tell you what, when I do understand, I'll
> stop asking questions (you can of course feel free not to answer). I am
> trying.

I'm sorry, I didn't mean to imply that you were stupid, or anything.
It's just that when one finds something really hard, one should ask
oneself from time to time whether the skill one is trying to acquire is
worth mastering. There are many ways to skin a cat, and I was
suggesting that the Pythonic way or the Ruby way of handling strings
(or, come to that, even the C++ way!) might give you quicker returns on
your investment.

Alwyn



Relevant Pages

  • Re: Why would I learn Python over other languages?
    ... >> languages, I also came across a language called Ruby. ... comparing Python to Ruby from those of you who have ... Ruby's documentation of its libraries is much worse. ...
    (comp.lang.python)
  • Re: What do you want in a new web framework?
    ... But there are interesting things in Ruby (and Ruby 2 should take care of ... lots of warts Ruby 1.8 has) that Python could learn from. ... Lisp family of languages whereas Python's statement-based syntax is ... These two aspects of frameworks ...
    (comp.lang.python)
  • Re: a Python persons experience with Ruby
    ... But in ruby no such distinction exists. ... I'm sorry to have to insist: Python doesn't distinguish between methods ... an accessor. ... semantic equivalent in Python of your Ruby snippet is a plain attribute. ...
    (comp.lang.python)
  • Re: Can you please help to make decision?
    ... For all I know, I may have just made a case for learning Python first, ... even though I don't much like the language. ... I don't think ruby is ever going to be readable in that way. ... Overall, I think python's online documentation is pretty poor, but I ...
    (comp.lang.ruby)
  • Re: New to Python: my impression v. Perl/Ruby
    ... After years and years of Perl use, I evaluated Ruby ... > and Python and have adopted Python. ... the socket module docs for the default timeout setting. ... Yes, that's a substantive difference in design, I agree ...
    (comp.lang.python)