Fork me on GitHub
#clojure
<
2015-06-13
>
gjnoonan07:06:20

@athos: hmmm Interesting!

snufkon07:06:10

@athos: where(how) did you find this ??

athos07:06:21

@gjnoonan: Yeah! I totally don’t know what this is, but it looks interesting. @snufkon: I saw somebody tweeted about it.

mdallastella08:06:45

I remember Logo on C=64, primary school

mdallastella08:06:58

Nice project clojure-turtle simple_smile

athos08:06:27

Wow, ‘turtle’ really means turtle graphics.

athos08:06:34

So, why is Google reinventing Logo?

borkdude12:06:51

re-inventing? it's a small program

athos12:06:43

I mean, reinventing in the sense of “reinventing the wheel” 😃

borkdude12:06:14

there are many things replicated across languages.

monjohn12:06:12

Love it. Logo was my first experience with a counter at school.

nikolap12:06:55

the readme file says "This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google." simple_smile

nikolap12:06:09

strange are the paths of code ownership

pastafari12:06:39

nikolap: maybe they wrote it on a laptop owned by Google! reminds of the last episode of Silicon Valley simple_smile

nikolap12:06:22

pastafari: right! 😄 great episode.

mikera13:06:50

Counterclockwise has great syntax-highlighted REPL / editor support if you are an Eclipse user.

ul16:06:04

what is the most efficient way of swinging between Clojure vector and Java array? into-array and vec?

borkdude19:06:10

I was wondering if anyone has written down advice on code organization of a typical clojure web application (compared to a standard Rails app with models, services, config, etc)

robert-stuttaford19:06:06

best tip i got from that talk was the use of a ‘homeless’ namespace

robert-stuttaford19:06:14

(ns cognician.homeless …)

robert-stuttaford19:06:30

great for acknowledging that you need a good place to put this thing but you’re not sure where right now

borkdude20:06:00

he mentions 'domain' should be pure. In the context of a simple crud app, domain would be almost empty then I guess.

tcrayford20:06:58

@borkdude: I don't think there is any standard (which isn't great imo). I can describe how Yeller's webapp is organized, but I ain't particularly happy with it 😕

borkdude20:06:36

@tcrayford: I'm always interested to hear it. Every app I've built is different and I'm always searching to improve the structure.

tcrayford20:06:46

@borkdude: so roughly the whole thing is in src/yeller/web. Everything's flat inside there. There's one "main" namespace: yeller.web.routes (that contains all the compojure routes), and one supporting thing for that, yeller.web.middleware. Then each "part" of the domain has several namespaces: yeller.web.invite_handlers (for ring handlers), yeller.web.invite_views (for stuff that renders into html), yeller.web.invites (for any logic that isn't strictly to do with HTTP)

borkdude20:06:53

so yeller.web.invites has the domain logic if there is any?

tcrayford21:06:56

alternatives I have considered: yeller.web.invites.views, yeller.web.views.invites didn't like any of them (or the alternative I picked)