This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-17
Channels
- # announcements (7)
- # babashka (56)
- # beginners (114)
- # bristol-clojurians (4)
- # calva (22)
- # cider (7)
- # clara (1)
- # clj-kondo (17)
- # cljs-dev (1)
- # clojure (93)
- # clojure-europe (8)
- # clojure-italy (5)
- # clojure-nl (2)
- # clojure-uk (79)
- # clojuredesign-podcast (18)
- # clojurescript (108)
- # code-reviews (6)
- # cursive (3)
- # data-science (16)
- # datomic (151)
- # duct (7)
- # emacs (10)
- # events (1)
- # fulcro (76)
- # luminus (8)
- # off-topic (3)
- # other-lisps (2)
- # pathom (8)
- # re-frame (5)
- # reitit (8)
- # schema (9)
- # shadow-cljs (37)
- # specter (3)
- # sql (17)
- # tree-sitter (2)
- # yada (9)
@cb.lists Hello and welcome to the show. Glad to hear you're enjoying them. You bring up a really good idea for discussion. I can't think of any code bases off the top of my head, but maybe someone else in this channel could offer up one that they've found useful. I totally agree that reading code is a good way to learn how a language is used. In the small, maybe reading through advent of code solutions would be helpful: https://www.reddit.com/r/Clojure/comments/e4lsbk/advent_of_code_2019_in_clojure/
Thanks @nate- I've kind of avoided Advent of Code, thinking of it as a competitive thing (not my style), but in truth that's based on no actual information at all. I shall take a look.
I've sometimes found stdlibs to be good sources of stuff to read. Depends on the language - golang's I found very informative, Rust's less so at least from a superficial look (too much atypical unsafe
code). I wonder where Clojure's sits - I imagine there's more java interop stuff there than an app developer would normally want to write.
I understand staying away from competitiveness. I can never keep up, so I'm usually just challenging myself. One very useful thing is to implement a problem and then go look at a very experienced clojure dev, like Mike Fikes or Bruce Hauman, and see how they approached it. Sometimes it would take a while just to understand what was going on with their code, and I always learned something.
Reading clojure libs can be uneven. Depends on how far the author goes down the meta programming rabbit hole. I've enjoyed reading the ring source recently. Nearer the other end of the spectrum sits aleph, it's wonderful but mind bending under the hood.
The other issue with reading libs is that it doesn't really help with how to structure your main app source. There was a discussion around that topic in another channel the other day. I'll try to dig it up.
Yep, I think of libs as possibly good sources of idiomatic code, but you're right, at some point you need app-level code to get a good handle on the larger organisational issues. I'm too early in my clojure journey to want my mind bent too far out of its already idiosyncratic shape so perhaps aleph is for another day! You're AoC suggestion is a good one.
@cb.lists I can also recommend joining the Clojure track on http://exercism.io, in mentored mode if places are still available, but even in practice mode I found it useful because you can easily browse through other people’s solutions. It’s not always easy to derive what is the “idiomatic” way of doing things, but you’re going to see alternative solutions for sure, and that is very enlightning I find.
All this corona-forced-working-from-home has led to a bit of a problem for my, by the way: since I don’t have my commute, I don’t find the time to listen to all my podcasts. But I’ll catch up, I promise!
@stefan.van.den.oord Thanks I had kind of forgotten about exercism. I've used it in past, but when I looked into it last year for Rust the student/mentor ratio was out of control. I do enjoy seeing others' solutions to things I've tackled though, so practice mode could still be worth a look.
Yeah that ratio can be an issue. I did the Haskell track recently, and there it was quite good, answers within 1 to 2 days generally, but I think the Clojure track may be a bit crowded…
Just had a quick look - Clojure & Haskell have similar numbers, with Rust having far more students (I guess it must still be cool - must be nearly time for something else to take that spot?). I'll give it a try for Clojure - feedback is nice to have.
Hi, I'm one of the maintainers over at Exercism, and we're actually hard at work rolling out a whole new platform (set to launch this June) in order to address this very issue of excessive wait times.
@porkostomus - cool, will be interested to see what you come up with. It does seem inherently difficult given the inevitable imbalance between mentor & student numbers.
It's largely a community of students who go on to become mentors. That's how I got into it, having gone through the track it seemed like the natural thing to do in order to level up 🙂 So the hope is that by enhancing the curriculum and learning experience, more people will want to become involved.
@cb.lists came across this just now on reddit: https://www.reddit.com/r/Clojure/comments/fj8ezy/development_walkthroughs_of_significant_projects/