tempo icon indicating copy to clipboard operation
tempo copied to clipboard

Simplify interface

Open superbobry opened this issue 13 years ago • 3 comments

I think we should choose between /2 and /3 functions and remove parse_* and format_* from the export list -- there should be only one way of doing things.

superbobry avatar Jan 03 '13 21:01 superbobry

I'm not sure that this is a good idea because:

  1. we will break some code
  2. sometimes the former is handier and sometimes the latter.

si14 avatar Jan 06 '13 11:01 si14

  1. This will be a separate release.
  2. I don't see how tempo:format(..., {tag, Value}) is different from tempo:format_now(..., Value); plus, the former looks more extensible.

superbobry avatar Jan 06 '13 11:01 superbobry

Regarding 2nd point — well, sometimes it's just handier to avoid such boxing. But maybe you are right and we should drop it.

si14 avatar Jan 12 '13 12:01 si14