[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Re: string formatting notation



I meant that as a general comment about the different skills, strengths and
weaknesses that different individuals bring to a project.

If you go back and read my comment again, with this in mind, you might find
that reading it as a general comment is a more straightforward thought
process.

I assure you, I have no combative intent toward you. I find myself baffled
-- the last reply is entirely at odds with what I've been trying to say.
I've known Scott for many years, and I see nothing in his words meant to
attack you, your credibility or your motivations. (The specific comment of
his that you cited at the end of your message is also, on its face, a
general comment about any past, current or future contributor.)

Now.

I am open to the idea of string interpolation. I even wrote a prototype to
help you make your case, by letting people try it out! (Which prototype went
roundly ignored, btw.) I'm also skeptical of it.

I don't know where my pachinko ball is going to end up on this one. I wrote
the prototype so I could try it out and see for myself.

In the past, I was initially skeptical of |args| ... but then I tried it,
and very quickly, it "felt" better than the old way. Based on that, just
because I'm skeptical of string interpolation now, doesn't mean I think that
my skepticism is absolutely correct.

But... f"abc = {{abc}}" feels weird to me. I don't know why. I can state
lots of reasons about expressions becoming unreadable when they're too long,
or confusion for people without a programming background over dropping
executable code into the middle of the string, and you have technical
answers to all of those... but it still feels weird to me.

Likewise, "abc = %".format(abc) feels unpleasant to you, and you've
explained several reasons why, and I could talk about the clarity of having
all the executable bits outside of the string... but format() is still going
to feel weird to you, and you won't be quite happy as long as that's the
only way.

I don't believe that interpolation is inherently technically superior. I
don't believe that format() is inherently technically superior.

> It seems like a lot of your thoughts here stem from what has happened in
> the past on this project.

Yes, because we made a lot of mistakes by being undisciplined and checking
in new features without thinking about the consequences for later
maintenance, or the consequences for later new users.

> I can't help but feel that it's also produced a stereotype that I now have
> to fight against...

IMO this is part of the problem. You're seeing a fight. I don't see it as a
fight. It doesn't have to be a fight.

It could be a difference of opinion, simple as that.

hjh



--
Sent from: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/