Scalaのコミッターの人が「Cake Patternはアンチパターンだ」と言って話題に!
@debasishg @dridus @gkossakowski perhaps something can be done to improve handling of monad stacks…?
2013-07-27 03:36:24@timperrett @debasishg @gkossakowski I feel positive that is so, though exactly how is open to much debate
2013-07-27 03:37:05@dridus @debasishg @gkossakowski right. Perhaps some enterprising soul will craft some macro magic to save the day
2013-07-27 03:37:57@debasishg @gkossakowski @dridus Modular programming with interfaces and injected implementations based on acyclic dependency graph
2013-07-27 03:38:36@timperrett @debasishg @gkossakowski while I am a fan of “fancy new tool” I feel like even the shape of the solution is unknown (to me)
2013-07-27 03:38:56@dridus http://t.co/dcF6vu4597 http://t.co/Dk5NR36yTa /cc @timperrett @debasishg @gkossakowski @runarorama
2013-07-27 03:46:39@debasishg @gkossakowski @dridus What do you think about using Free monad for that? /cc @runarorama @psnively @timperrett
2013-07-27 04:01:55@vilester @debasishg @gkossakowski @dridus @psnively @timperrett That's an excellent idea. You know how I love reasonably priced monads.
2013-07-27 04:10:47@gkossakowski I think it's good in the small, but in the large it's horrifying.
2013-07-27 06:20:31@gkossakowski @debasishg @dridus We're using the Scalaz Reader monad extensively now, everything is simpler now.
2013-07-27 06:24:09@gkossakowski I'd love to hear your experiences compared to @djspiewak . He seems to think it's good. Gonna write a blog post?
2013-07-27 08:14:04.@gkossakowski @debasishg @dridus we use and love Guice in larger scale production code and multi play projects http://t.co/YMuR52v0VR
2013-07-27 08:47:48@coltfred @gkossakowski It really depends on what exactly you call the Cake Pattern. Some variants are wretched.
2013-07-27 08:55:45@coltfred @gkossakowski I cannot speak highly enough about the variant we used at Precog though.
2013-07-27 08:56:02@djspiewak @coltfred @gkossakowski "used" as in you don't use it anymore?
2013-07-27 09:07:28@gkossakowski @DRMacIver @natpryce We use cake pattern at work. I don't mind it but it has flaws. Looking at poss using Reader monad instead
2013-07-27 09:33:33@larsr_h @djspiewak @gkossakowski We currently use it for mixing in dependencies and for mixing in functionality (aka namespacing)
2013-07-27 11:11:17@xeno_by @gkossakowski Would like to know your view on it too!
2013-07-27 16:27:29@missingfaktor @gkossakowski I sure love the fact that it simplifies dependency management, but...
2013-07-27 16:33:43@missingfaktor @gkossakowski …look what it does to extensibility: here https://t.co/NzAqYR1DVQ and here https://t.co/dkzK3kqWoA...
2013-07-27 16:34:28@missingfaktor @gkossakowski …we wanted to implement quasiquotes as a library, but then integrating them into the reflection cake...
2013-07-27 16:34:51@missingfaktor @gkossakowski …became prohibitively verbose, so we dropped that idea and just hardcoded quasiquotes into the cake
2013-07-27 16:35:40