Thanks Antonin, I wasn't aware that top-level data defs are universally bad 
for DCE.

Yuri, I think you're right in general, but my application can be compiled 
with particular features excluded so multimethods are problematic even in 
my application code. And I've found that with re-frame applications unless 
I'm very disciplined about removing dead code I end up with unused event 
handlers - I'm sure some people experience the same with multimethods. 
That's an easy problem to solve, but in closed systems like applications 
I've always found that static dispatch with a big `case` or something 
similar works fine.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to