For anyone else that's curious, Scott and I have been discussing this on github, and would love input from others. I have a minimal working example with a new "fmt" method, but I'd like to work on something that people will actually use.
On Thursday, June 18, 2015 at 2:08:45 PM UTC-4, Scott Jones wrote: > > Waiting for your comments, over at > https://github.com/lindahua/Formatting.jl/issues/8! > > On Thursday, June 18, 2015 at 1:22:04 PM UTC-4, Tom Breloff wrote: >> >> Yes it was on julia-dev. Regardless I think the right path forward is to >> start a discussion on github (in Formatting.jl) and we could hash out >> exactly what would be nice for users. Based on your posts, you may have a >> very different perspective on string formatting that your average >> developer/scientist. My goal would be to have methods that are extremely >> simple to understand and super short to write, so that people actually use >> them. Bonus points if those methods are flexible enough for those that >> need additional options. Anyways... over to github? >> >> On Thursday, June 18, 2015 at 1:07:21 PM UTC-4, Scott Jones wrote: >>> >>> >>> I was aware that it could be any or all of those issues. I was just >>> stating the facts, not complaining. >>> >>> Here is what I sent him: >>> >>>> Hi, I hope you don’t mind a direct e-mail. >>>> I was pointed at your Formatting.jl package, after I’d made the >>>> suggestion of adding a fmt function in a new package, >>>> and kmsquire pointed out that there was already a Formatting.jl >>>> package, which is where it should go, and then >>>> when I investigated, I saw that it had a fmt function that was almost >>>> exactly what I was suggesting. >>>> I was wondering what you’d think of me adding my idea (renamed possibly >>>> `sfmt` to avoid the naming conflict`) to your very >>>> nice package (which I think should be in Base, instead of so much >>>> *unused* stuff like “RopeString” ;-) ). >>>> My idea was the following: >>>> sfmt( value [, format [, format arguments] ] ) >>>> The reason to have the value first, is that you could have methods >>>> added to have a default format for specific types. >>>> For example, the C sprintf(buf, “%*s”, 8, string) would become >>>> something like: >>>> sfmt( string, “*s”, 8) >>>> What do you think? >>>> Thanks, Scott >>> >>> >>> As I said, his formatting package does seem very nice, and very complete >>> as well... >>> [OT: Will he be coming to JuliaCon? I hope so!] >>> >>> On Thursday, June 18, 2015 at 1:00:20 PM UTC-4, Stefan Karpinski wrote: >>>> >>>> Dahua is pretty busy and lives in a very different time zone. He also >>>> may not want to respond to direct messages. >>>> >>>> On Thu, Jun 18, 2015 at 11:44 AM, Scott Jones <scott.pa...@gmail.com> >>>> wrote: >>>> >>>>> I tried directly e-mailing him (after having gotten a lot of grief for >>>>> posting so much!), but I haven't heard back... >>>>> >>>>