[HN Gopher] Babashka Babooka: Write Command-Line Clojure
___________________________________________________________________
Babashka Babooka: Write Command-Line Clojure
Author : Borkdude
Score : 77 points
Date : 2023-01-05 15:29 UTC (7 hours ago)
(HTM) web link (www.braveclojure.com)
(TXT) w3m dump (www.braveclojure.com)
| sharms wrote:
| I just started using 'nbb' which is a node.js version of Babashka
| for automating various web tasks using playwright and it has been
| fantastic
| mlongval wrote:
| Babashka is cool. I've looked at it and want to learn more, but
| it's always a question of time.
| escherize wrote:
| Babashka has saved me a lot of time. I actually think it is the
| quickest and easiest way to get started learning Clojure, to a
| point. No startup time didn't seem like a big deal for my
| workflow until I got instant startup time when running script,
| and starting repls -- The kind of repl where you can inspect
| and act on anything in your program.
|
| Babashka tasks is fantastic too! Multi-threaded, simple, and
| very few surprises.
| zote wrote:
| > actually think it is the quickest and easiest way to get
| started learning Clojure, to a point.
|
| That's great, I was just checking out Clojure a few hours ago
| and now have it installed. Any other cool blogs and resources
| the fine folks on here could recommend.
| sharms wrote:
| This might be further down the rabbit hole than you want to
| go, but I enjoyed the incredibly detailed blog post here
| with Babashka and deploying a AWS Lambda:
| https://jmglov.net/blog/2023-01-04-blambda-analyses-
| sites.ht...
| Borkdude wrote:
| That blog post wasn't about nbb, but about bb, right?
| sharms wrote:
| You are right I edited up update the comment
| kees_ wrote:
| If you're truly looking for an info dump...
|
| https://gist.github.com/ssrihari/0bf159afb781eef7cc552a1a0b
| 1...
|
| And I'd start from the very first link! I'm sure everyone
| agrees an engaging writing style goes a long way. Ayphr's
| posts are awesome for broad understanding, some novel order
| to the presentation I haven't seen elsewhere
| kaliszad wrote:
| If you are just getting into Clojure itself, you might
| enjoy this interactive tutorial in an app that is itself
| written in a Clojure/ ClojureScript combo:
| https://orgpad.com/s/iByMMbKLBnq There are links to other
| resources. Just click units with more pronounced shadows -
| those have contents, e.g. small interactive editors, videos
| etc.
| mjdowney wrote:
| I've really enjoyed Babashka lately. Most recently, I ported a
| script from Bash which gets around WiFi captive portals and was
| able to add some features and even unit tests. Super fun and
| would have been hard for me to do in Bash!
|
| https://gist.github.com/matthewdowney/dab4d12d001152dec473e3...
| [deleted]
| jb1991 wrote:
| If you work on Mac, there are a lot of great ways these days to
| script in a better language than Bash. Here's how to write easy
| scripts in Swift, without learning a new language:
| https://rderik.com/blog/using-swift-for-scripting/#our-first...
___________________________________________________________________
(page generated 2023-01-05 23:01 UTC)