POV-Ray : Newsgroups : povray.off-topic : Other people dislike regexes too : Re: Other people dislike regexes too Server Time
29 Jul 2024 10:27:01 EDT (-0400)
  Re: Other people dislike regexes too  
From: clipka
Date: 19 Jul 2012 10:20:06
Message: <50081796$1@news.povray.org>
Am 19.07.2012 12:53, schrieb Invisible:

> Imagine if instead, somebody had written
>
>    oneOf "sh"
>    char 'd'
>    letter
>
> You don't even need to know which parsing library or what programming
> language this is to figure out that it matches three characters. (Or
> maybe do you. It's perhaps not /completely/ obvious what the final line
> does.) There's barely anything to learn.

It will become less obvious as soon as the example becomes non-trivial.


>> If you want to complain about perl, then complain about perl.
>
> Have I ever mentioned that I also really hate Perl?
>
> Of course, the only reason that anybody ever uses Perl is because it has
> built-in regex support. This, together with low-level text munging, is
> literally ALL PERL DOES! >_<

... which maybe is because that's what it was /designed/ for? :-P

The only thing I know about Perl though is that its support for calling 
existing C libraries dearly sucks: You cannot, for the sake of your 
life, pass a NULL pointer.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.