News for hackers. Stuff that matters.
Re:Why is Jepsen written in Clojure? by dgb23 on Wednesday December 06, 2023 @07:32AM (#38543002)
Comprehensive frameworks include: biff, kit.

Both of these rely on some of the most popular and simple libraries for web dev.

Most seem to simply use said libraries directly, mix and match what is needed.

If you’re an experienced web developer but new to Clojure, then you’re going to spend a good weekend or so to set up a proper environment, combine the necessary libs and so on, if you have some guidance. The Clojure community is quite welcoming and helpful in that regard.

There’s an initial learning curve, because it’s a functional Lisp though. That comes with some necessary re-wiring, but also with some unique powers.

The cool thing about writing Clojure is that feeling: „Really that’s it?“ when you realize how simple it is. It’s also simply fun to use, because of how interactive it is.

Re:Why is Jepsen written in Clojure? by digdugdirk on Wednesday December 06, 2023 @07:38AM (#38543062)
Do you have any recommendations for good resources for a starting point? And maybe something like a generic "to-do app" style tutorial just to see how everything is laid out and how everything connects?
Re:Why is Jepsen written in Clojure? by dgb23 on Wednesday December 06, 2023 @08:14AM (#38543410)
There are many good tutorials, free and paid books.

However, if you just want to get started and have a minimal thing working without much fuss I recommend this one:

https://clojure-doc.org/articles/tutorials/basic_web_develop...

I haven't directly used it but I reviewed it once and it seems to be one of the most straight forward and carefully written web development tutorials for Clojure. It uses a very minimal set of libraries and it really goes from A to Z. Perfect if you want to just get yourself familiar and have something working.

Re:Why is Jepsen written in Clojure? by digdugdirk on Wednesday December 06, 2023 @11:33PM (#38552851)
Wow. There'll definitely need to be some translation before I understand everything, but you're absolutely right - this tutorial is one of the best I've ever seen.

Thank you for sharing it!

Re:Why is Jepsen written in Clojure? by seancorfield on Friday December 08, 2023 @01:49AM (#38566120)
As the current maintainer of clojure-doc.org, I'd be happy to hear your feedback on what needs additional explanation/clarification.

This year's funding by Clojurists Together allowed me to spend a lot of time completely rewriting large sections of the site to bring it up-to-date with modern Clojure tooling and libraries -- but I know there's still room for improvement.

Re:Why is Jepsen written in Clojure? by digdugdirk on Wednesday December 13, 2023 @10:22PM (#38637408)
Just seeing this now. Very busy with work at the moment to dive into learning a new language/paradigm, but I will honestly set a reminder to check in with you in a few months after I've dug into it some and I'll be sure to take notes with this in mind throughout.

I love the idea of a community investing in this type of outreach (beginner oriented) and I'll be happy to contribute when I can.

Re:Why is Jepsen written in Clojure? by stefcoetzee on Wednesday December 06, 2023 @07:48AM (#38543143)
Consider the tutorial on the Kit website: https://kit-clj.github.io/docs/guestbook.html#guestbook_appl...
Re:Why is Jepsen written in Clojure? by sometimesweenie on Wednesday December 06, 2023 @10:14AM (#38544889)
If you want a solid structure to start with, I’d suggest https://luminusweb.com/ as that’s what I initially learned from. For a todo app I believe the reagent repo has an example of that without the server bits. I could give you some more direction depending on what you’re trying to accomplish