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

Re: [sc-users] string formatting notation



Sorry, I’m opposed to both. There’s way too many duplicate methods in SC added to support personal preference of developers.

These add little or nothing new, make SC harder to learn, violate existing conventions and bloat the method table unnecessarily.

Sorry if this comes on too strong, as I know people mean well, but I really wish someone had stood up against these sorts of things in the early days of SC being open source.

My two cents anyway...

S.

> On 22 Dec 2017, at 05:31, <nathan@xxxxxxxxxxxx> <nathan@xxxxxxxxxxxx> wrote:
> 
>> On 2017-12-21 15:47, brianlheim@xxxxxxxxx wrote:
>> Hey all,
>> Formatting a string in SuperCollider is currently done (standard-wise)
>> with the `.format` method on String. I was wondering what the
>> community interest would be like for a Python 2 style shorter
>> notation:
>> Old:
>> "%: stopped".format(thisProcess)
>> "%: % is greater than %".format(thisProcess, 3, 2)
>> New:
>> "%: stopped" % thisProcess
>> "%: % is greater than %" % [thisProcess, 3, 2]
>> Thoughts? I definitely get sick of having to type .format.
> 
> hi brian,
> 
> i support this.
> 
> with apologies for hijacking the thread, i also support letting people type 3.db instead of 3.dbamp :)
> 
> 
> nathan
> 
> _______________________________________________
> 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/


_______________________________________________
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/