-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Is there any reason to generate diff text using
c.saveDiff(a.Int(), b.Int())instead of
c.saveDiff(a, b)At a glance second way is better because it keeps original type and thus if that type implements Stringer interface then diff will contains values in much more readable form than just a number. (With a lot of iota consts reading diff with numbers is really hard.) Of course, same probably apply to other types, not just to integer ones.
casept and negz
Metadata
Metadata
Assignees
Labels
No labels