[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Re: string formatting notation
i wrote
> Because of the nature of SC and its user base, I think members of the
> developer community ... sometimes make poor model users.
This comment bears repeating. (It's similar to the way that programmers are
often the last people you want to write documentation.)
Whether we want to admit it or not, at the end of the day, it *is* about
personal preference. IMO it's vague to say "I want to make the language
better." If an alternative to format() makes the language better, then it
pretty much reduces to some combination of:
- format() has technical deficiencies that are addressed by the alternative,
- or, I/you/she/he/whoever doesn't like it (finds it ugly in some way).
So far, *one* solid technical deficiency has been pointed out -- it's too
easy for the argument list to get out of sync with the '%' markers.
From where I sit, technically, it's pretty much a wash: interpolated strings
become unreadable when the embedded expressions get too long, and format()
gets harder to control when you have more than, oh, three or four arguments.
So then it comes down to taste, maintainability, and teachability.
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/