简体   繁体   中英

What is Local Reasoning , exactly?

What is Local Reasoning? how does it relate to Referential Transparency, Equational Reasoning and Laziness?

(adding the definition from the commented link, just to avoid link only answer )

From http://degoes.net/articles/fp-glossary

Local reasoning is a property of some code wherein the correctness of the code can be inferred locally under specified assumptions, without considering prior application state or all possible inputs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM