The compiler knows more information about types than the JVM runtime can easily represent. A Manifest is a way for the compiler to send an inter-dimensional message to the code at runtime about the type information that was lost. It isn't clear if a Manifest would benefit the errors you are seeing without knowing more detail. One common use of Manifests is to have your code behave differently base
Continuing the mini-series on Dependency Injection (see my previous blogs: problems with DI, assisted inject for CDI and improving assisted inject), I took a look at how DI is handled in Scala. There are several approaches, one of the most interesting being the Cake Pattern. It is a DI solution that uses only native language features, without any framework support. For a good introduction see eith
Recursion is an essential part of functional programming. But if each call allocates a stack frame, then too much recursion will overflow the stack. Most functional programming languages solve this problem by eliminating stack frames through a process called tail-call optimisation. Unfortunately for Scala programmers, the JVM doesn’t perform this optimisation. Here’s a picture of a Scala program a
Staging Servers, Source Control & Deploy Workflows, And Other Stuff Nobody Teaches You I worked for almost three years as a cog in a Japanese megacorporation, and one of the best parts about that experience (perhaps even worth the 70 hour weeks) was that they taught me how to be a professional engineer. Prior to doing so, my workflow generally involved a whole lot of bubble gum, duct tape, and pr
Editor’s note: Glenn Kelman is the CEO of Redfin and formerly a co-founder of Plumtree Software. In this guest post he discusses the rise of the hybrid startup: with one foot in the virtual world, and one foot in the real. You can read his previous TechCrunch guest posts here. Several years ago, before Gilt, One King’s Lane and Zulily, I argued that some of the most valuable, disruptive tech start
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く