You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the reason of Match existence becomes easier to understand:)
Who knows, maybe we even have to remove actual and by args of Condition,
or, at least, not remove, but make them private (_actual, _by) and reveal them for usage only in Match as actual and by...
Then we have to consider rething condition.call aliases... And corresponding test vs match naming... We have some kind of conflict between entity.matching(condition) and condition.match(entity), because the term is same, but meaning different – predicate vs assertion... But also the grammatical form is different *ing vs *... So maybe it's ok...
Hm... But look at this: match.visible.match(element) o_O !!! ... match.visible.test(element) looks better... While the match.visible(element) is yet the best one...
Hm... What if we make match.visible.for_(element) to serve as predicate in bool context?"
Test might be also a good candidate over Match ... But Test does not correlate in `entity.should(Test(actual=..., by=...))
The text was updated successfully, but these errors were encountered:
Compare current:
to:
Then the reason of Match existence becomes easier to understand:)
Who knows, maybe we even have to remove
actual
and byargs
of Condition,or, at least, not remove, but make them private (
_actual
,_by
) and reveal them for usage only inMatch
asactual
andby
...Then we have to consider rething condition.call aliases... And corresponding
test
vsmatch
naming... We have some kind of conflict betweenentity.matching(condition)
andcondition.match(entity)
, because the term is same, but meaning different – predicate vs assertion... But also the grammatical form is different*ing
vs*
... So maybe it's ok...Hm... But look at this:
match.visible.match(element)
o_O !!! ...match.visible.test(element)
looks better... While thematch.visible(element)
is yet the best one...Hm... What if we make
match.visible.for_(element)
to serve as predicate in bool context?"Test
might be also a good candidate overMatch
... ButTest
does not correlate in `entity.should(Test(actual=..., by=...))The text was updated successfully, but these errors were encountered: