Fork me on GitHub
#beginners
<
2015-06-26
>
pdmct01:06:29

Is there a library / package that can create/display a summary of the structure of a nested map / data structure?? Something like pretty print without the data

Alex Miller (Clojure team)02:06:33

clojure.inspector is in the box - it will pop up a tree view

pdmct02:06:19

thanks will give it a try

stvnmllr12:06:30

we have a huge db app, hundreds of tables, with tons of columns, with relationships galore all intertwined. So thinking about solving some of the problems we have with clojure that we used Hibernate for. Some being relationships (sqlkorma?), Auditing with event listeners (wrapper methods that query and diff maps), Custom fields per customer (maybe easier by changing model/queries on startup?) or would i just use the hib layer from clj

gary17:06:30

@stvnmllr that's quite an undertaking for a beginner 👷

gary17:06:00

it's a good start to tease apart all the complected pieces of the system

stvnmllr18:06:42

yep. aiming high. If I can't replace what we have, it'll be harder to argue for clojure over all. 😇

stvnmllr18:06:55

but yeah, guess it's not a beginner question. even though I'm a beginner

shaun-mahood19:06:10

@stvnmllr: Can you factor out parts? I'm going from C# with Entity Framework and developing with clojure/cljs, and there's a lot to learn. I'm basically having to relearn everything and there are lots of gotchas where gaps in my understanding make things much harder than they should be.

akiva19:06:17

@shaun-mahood: I spent over ten years doing C# so I know that accuracy of pain.

stvnmllr19:06:40

can't wait 😔 yes, i can refactor anything

shaun-mahood19:06:33

@akiva: It's good pain though - even with not much knowledge or skill I vastly prefer it! I hated relearning all the frameworks every time they decided to change everything. I have 2 old computers still sitting here just in case I need to go back and refactor old code to let it run on the new versions of VS.

shaun-mahood19:06:31

@stvnmllr: I bet if you lay out all the different responsibilities you want to move to Clojure there are people here that can point you in some good starting directions. Is it all back end code you want to replace?

stvnmllr20:06:36

Yes, backend is the complex part. Otherwise it's just an oldschool server-side rendering web app.