Fork me on GitHub
#admin-announcements
<
2015-12-10
>
agile_geek08:12:23

@jeremys: I've watched this talk a couple of times and it, and 'Clojure Applied' by Alex Miller, fill a need I have for resources on how to construct a Clojure application at a higher level than simple functional composition. I disagree with this argument 'you don't need patterns in a Lisp and patterns are missing language features'. Functional composition, idiomatic application of map, reduce, data structure destructuring are all very low level patterns. However, the 'how do I construct a non trivial application' seems to be left to the reader as an exercise in re-inventing the wheel so I like what Stuart, Alex and others are trying to do.

artemyarulin09:12:03

is there any differences in high level design between different languages? Modules, sub-systems, low coupling - it’s everywhere no matter what language is used. On high level I mean

jaen09:12:47

I imagine there's a more of an overlap between architecture in any two imperative languages than between an imperative one and functional one.

jaen09:12:05

Sure, things like CQRS, event sourcing, microservices and so on are language-agnostic

jaen09:12:18

But practicalities of their implementation are not

jaen09:12:29

You can't write Haskell as if you were writing Java.

jaen09:12:56

So some example of how to apply those high-level ideas in practice would certainly be useful.

hans09:12:08

There are several important decisions to make, for example how to relate components and configuration. If you start with one abstraction trying to do it right, you'll need to find ways to do it right with the other abstractions that you need. If the environment makes these decisions for you, things are easy - Erlang goes that way.

hans09:12:55

We're struggling quite a bit getting components, configuration, decoupling and testability right.

jeremys12:12:57

@agile_geek: I didn't know about clojure applied nice!

agile_geek12:12:56

@jeremys: just about the only book I've found that fills the void for intermediate level Clojurians

dominicm12:12:06

@agile_geek: That's exactly what I was just thinking watching the talk.

agile_geek12:12:25

Alex and Ben should be applauded 👏

dominicm12:12:17

@agile_geek: > so I like what Stuart, Alex and others are trying to do. I am guessing at Component here, but I'm not sure who Alex is & what he wrote? 😛

dominicm12:12:25

Or if there's some other libs I might like.

jeremys12:12:38

there really are some good clojure books

dominicm12:12:43

Ah, yes. That is on my list. I quite like pragmatic programmer books. With the recommendation it fills my current need, it's definitely going to get bumped up.

agile_geek12:12:16

and I was actually referring to Stuart's other efforts around highlighting best practice and desing patterns which is broader than just Component's (although that's part of the picture too)

dominicm12:12:34

@agile_geek: Any great links I might enjoy?

agile_geek12:12:26

@dominicm: as I said the only book I know that aims at a holistic approach to designing an entire app.

dominicm12:12:57

Of Stuarts I mean 😛

dominicm12:12:04

Oddly, I'm not following his blog, I should.

pierre21:12:19

Is there a way to define your own reader conditionals other than clj and cljs? Specifically wanting to distinguish windows, mac & unix platforms.

danielcompton21:12:18

@pierre: I saw an article a few days ago about this, but it was a dirty dirty hack

pierre21:12:01

It would actually be quite useful.

andy.fingerhut21:12:59

pierre: Earlier design discussions on reader conditionals proposed that, but the design was intentionally reduced to the keywords :clj :cljs :cljr :default (I think that is the complete list) to keep it from sprawling, I think.

andy.fingerhut21:12:18

@pierre: Another rationale for limiting the choices may have been to avoid significant extra complexity in tooling like IDEs.

sveri21:12:19

Hi, any of the prismatic schema guys here? I think I found a weird bug that I would like to show as it is hard to describe

danielcompton23:12:34

@sveri: could be some Prismatic girls around too?