Scala ではトレイトの相互再帰的合成ができるけれども、それを実際のプロジェクトで使わないのと同じような理由で、 cake pattern による DI も、(まともに機能すると信じて)実際のプロジェクトに使うことはない気がする
My understanding is that in Scala, you're not allowed to reference the inherited value of the lazy val from the super class.
-
-
I think this problem is essentially caused by a name collision. In Jsonnet, there seems to be two namespaces: self and super. Actually "jsonnet -e '{ a: 1, b: 2 } { a: super.b, b: 3, c: self.b }'" says "{ a: 2, b: 3, c: 3 }",
-
(cont) which cannot be constructed if there is just one namespace (or cell).
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!