Reability: the more you read a language, the more you can read it.

And saying Python is super readable can have a look at how BSON is dealt
with in the MongoDB driver.
https://github.com/mongodb/mongo-python-driver/tree/master/bson

Now go check the same in MongoTalk. Where you can actually understand what
it does and how it works.
Without having to resort to C code every once in a while.

Check some Perl code from a few years ago and come back with terseness and
readability arguments. Yeah, sure.

Phil


On Sat, Jan 21, 2017 at 11:16 PM, Dimitris Chloupis <kilon.al...@gmail.com>
wrote:

>
>
> Dtto as above. Readability was never a question. And if it was, then you
>> just doubled the regex complexity, and made the code more confusing by
>> turning the problem upside down, due to the limited API.
>
>
> Complaining about the compact syntax makes as much sense as complaining
>> that `1+2` is too cryptic and should be written as `1 digitAdd: 2` (which
>> you can do btw); the point of compactness is that when you know what you
>> are doing you can save some time.
>>
>> Typing speed is pretty much the 1000th reason for a slow down, 1th is the
> ability to understand code, at least for me.
>
> Ruby is a more flexible and better designed language, but I would pick
> python any day over it which by the way beats even Pharo in readability
> because of its culture on how to write APIs.
>
> On the subject of your issue, this is no work around I offered, this is
> standard regex syntax. Exclusion and combination of matches. Nothing
> special.
>
>  I am using regex to parse python code, in pharo, for me at least Pharo
> regex API rocks.
>

Reply via email to