digitalmars.D - std.string.format
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (10/10) Jun 23 2012 https://github.com/D-Programming-Language/phobos/pull/231
- Bernard Helyer (3/5) Jun 24 2012 ...you'd have to do a two second search and replace.
- =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= (6/10) Jun 24 2012 ...and introduce a dependency on a newer Phobos.
- Bernard Helyer (4/15) Jun 24 2012 If you're using D and are supporting old builds you're braver
- Bernard Helyer (4/15) Jun 24 2012 Wwwwait a minute. You have exactly the same problem if format is
- David Nadlinger (4/6) Jun 24 2012 No, because it is source compatible in the vast majority of
- Bernard Helyer (2/7) Jun 24 2012 Famous last words David. :P
- kenji hara (6/16) Jul 01 2012 It's now scheduled for replacement.
https://github.com/D-Programming-Language/phobos/pull/231 What are the plans for this? I really think the current format() implementation needs to go; the use of varargs makes it very annoying to work with since, for example, enum types decay to integral types. I could start using xformat(), but if that's going to be deprecated at some point, too, well... -- Alex Rønne Petersen alex lycus.org http://lycus.org
Jun 23 2012
On Saturday, 23 June 2012 at 18:06:32 UTC, Alex Rønne Petersen wrote:I could start using xformat(), but if that's going to be deprecated at some point, too, well......you'd have to do a two second search and replace.
Jun 24 2012
On 24-06-2012 09:10, Bernard Helyer wrote:On Saturday, 23 June 2012 at 18:06:32 UTC, Alex Rønne Petersen wrote:...and introduce a dependency on a newer Phobos. -- Alex Rønne Petersen alex lycus.org http://lycus.orgI could start using xformat(), but if that's going to be deprecated at some point, too, well.......you'd have to do a two second search and replace.
Jun 24 2012
On Sunday, 24 June 2012 at 07:56:04 UTC, Alex Rønne Petersen wrote:On 24-06-2012 09:10, Bernard Helyer wrote:If you're using D and are supporting old builds you're braver than I. Personally I only care about RELEASE and RELEASE-1.On Saturday, 23 June 2012 at 18:06:32 UTC, Alex Rønne Petersen wrote:...and introduce a dependency on a newer Phobos.I could start using xformat(), but if that's going to be deprecated at some point, too, well.......you'd have to do a two second search and replace.
Jun 24 2012
On Sunday, 24 June 2012 at 07:56:04 UTC, Alex Rønne Petersen wrote:On 24-06-2012 09:10, Bernard Helyer wrote:Wwwwait a minute. You have exactly the same problem if format is changed.On Saturday, 23 June 2012 at 18:06:32 UTC, Alex Rønne Petersen wrote:...and introduce a dependency on a newer Phobos.I could start using xformat(), but if that's going to be deprecated at some point, too, well.......you'd have to do a two second search and replace.
Jun 24 2012
On Sunday, 24 June 2012 at 15:02:08 UTC, Bernard Helyer wrote:Wwwwait a minute. You have exactly the same problem if format is changed.No, because it is source compatible in the vast majority of cases. See the discussion linked above. David
Jun 24 2012
On Sunday, 24 June 2012 at 16:14:29 UTC, David Nadlinger wrote:On Sunday, 24 June 2012 at 15:02:08 UTC, Bernard Helyer wrote:Famous last words David. :PWwwwait a minute. You have exactly the same problem if format is changed.No, because it is source compatible in the vast majority of cases.
Jun 24 2012
It's now scheduled for replacement. https://github.com/D-Programming-Language/phobos/commit/3485ac4fba2428f8e99= abe1a00d7f693a45e1029 Kenji Hara 2012/6/24 Alex R=C3=B8nne Petersen <alex lycus.org>:https://github.com/D-Programming-Language/phobos/pull/231 What are the plans for this? I really think the current format() implementation needs to go; the use of varargs makes it very annoying to work with since, for example, enum types decay to integral types. I could start using xformat(), but if that's going to be deprecated at so=mepoint, too, well... -- Alex R=C3=B8nne Petersen alex lycus.org http://lycus.org
Jul 01 2012