Scala Days 2013 / Taming the Cake Pattern with Type Macros
Please RSVP for instructions on how to join the event.
Description
In this talk, we discuss some interesting extensions to the cake pattern as described in RealWorld Scala: Dependency Injection (DI) by Jonas Bonér. We consider the use of the cake pattern to express hierarchical components, and the highlevel design constraints between them. We also discuss encapsulating the details of a composite component.
The cake pattern suffers from three major problems that limit its adoption:
1. Verbosity: Lots of boilerplate.
2. Opacity: Hard to follow the code because the language idioms used do not signify the user's intent.
3. Compiler error messages are confusing.
We present a specification for a suite of type macros to address the problems of verbosity and opacity. We provide a status report on the implementation of these macros to date.
Outline
No outline is available
Content is not yet available
John Sullivan (john.sullivan)

0

No biography is available.
For a complete view of this profile,
including education, work experience and developer information,
you need to be logged in and have a subscription.
John's upcoming trainings
No events
John's past online trainings
850 USD
Jun 10-12, 2013
After much anticipation, we’re thrilled to announce the fourth annual Scala Days will be held this year in New York at The Hudson Theater on June 10th-12th.
John's blog posts
Course tags
- f# × 13
- functional × 4
- erlang × 3
- http × 2
- introduction × 2
- web × 2
- websharper × 2
- agents × 1
- asp.net × 1
- asp.net mvc × 1
- async × 1
- beginners,, × 1
- c# × 1
- clojure × 1
- concurrent × 1
- distributed programming × 1
- erlang express × 1
- erlang for beginners × 1
- erlang, × 1
- ets × 1
- for, × 1
- haskell × 1
- linq × 1
- ocaml × 1
- otp × 1
- otp, × 1
- pit fw × 1
- scala × 1
- servicestack × 1
- silverlight × 1
- single page application × 1
- web api × 1
- workflows × 1
Featured Courses
Learning F# - Basics
Get started with F# quickly and effectively.F# Programming I
Part I of a comprehensive 3-part introduction to the F# programming language.F# Programming II
Part II of a comprehensive 3-part introduction to the F# programming language.F# Programming III
Part III of a comprehensive 3-part introduction to the F# programming language.Understanding Functional Programming
Master functional programming concepts that jumpstart your productivity.Introduction to WebSharper
Learn how to use WebSharper for real-life web applications.
![]() |
Copyright (c) 2011-2012 IntelliFactory. All rights reserved. Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy |
Built with WebSharper |