Python 工程管理
接触Python也有五六年了,一直都是小打小闹,撑死了也就一个几十行的小脚本。 大型工程也就知道需要一个requirement.txt去管理依赖,从来没有实践过。 前段时间用Python开发了一个图床工具simple-image-tool, 在这里分享一下用到的工程管理工具Poetry(主页很酷炫)
接触Python也有五六年了,一直都是小打小闹,撑死了也就一个几十行的小脚本。 大型工程也就知道需要一个requirement.txt去管理依赖,从来没有实践过。 前段时间用Python开发了一个图床工具simple-image-tool, 在这里分享一下用到的工程管理工具Poetry(主页很酷炫)
We already introduced Reader Monad, It can inject dependency to function by returning a Reader effect.
Reader Monad is very popular in FP, you can find lots of high quality blogs by Google.
Cake Pattern is the inborn Dependency Injection in Scala.
In this blog, we will talk about Self-types which is not used very often, but it’s an important concept to understand Cake Pattern, so it’s worth to do a sim...