3 ms·
> The first two aren't really better than the last at conveying what's going on. Though I've never really liked the verbiage, TFA does correctly remark that it
by masklinn 6y ago
> The first two aren't really better than the last at conveying what's going on.
Though I've never really liked the verbiage, TFA does correctly remark that it guides towards the correct parameter ordering in ways `assert_eq` does not. And depending on the way assertion errors are formatted, getting the ordering wrong can lead to odd / awkward messages.
'course these days I use pytest which just asks for an `assert` and takes care of taking apart the expression being asserted, so it's a non-issue.