【计算机英语】ThefactthatIthinkthemethodisatomicsignalsthat...
ThefactthatIthinkthemethodisatomicsignalsthatweshoulduseaService[EvansDDD]insteadtomakethewholethingmoreexplicit.TheServicecouldcheckthecurrentdebtandthereforebeusedproactivelybytheOrderatgoodplacesintime.Itcouldalsobeusedprettymuchreactivelyatsavetime,andsomesortofrequestcouldbeputonaqueueandbeusedreactivelyaftersave.TheServicewouldprobablyusethesameRepositorymethodaswasjustdiscussed,butthat'snotanythingthecallerneedstoknow,ofcourse.
Whatshoulditdoreactivelyafterthesave?Perhapsmovetheordertooneoftwostatessothatwhentheuserstoresanorder,itgoesintostateNewOrder.ThentheServicekicksinandmovestheordertostateAcceptedorDenied
我实在看不懂了