News for hackers. Stuff that matters.
Re:On Repl-Driven Programming (2020) by wnolens on Friday May 06, 2022 @12:00AM (#31281159)
> A breakloop is a full-featured repl, complete with all of the tools of the main repl, but it exists inside the dynamic environment of the broken function

Sweeeet.

Well damn.. here I am in my python repl for hours per day, feeling smug about how efficient I am pulling logs and analyzing data. But is there an AWS lisp sdk?

Edit: there is but not officially.

Sounds fun but lisp seems so much less interoperable (out of the box) than python, and more of a departure from the style of everyday engineering. I love my Python repl tools.

Re:On Repl-Driven Programming (2020) by sorry_i_lisp on Friday May 06, 2022 @01:45AM (#31281704)
Clojure is the ultimate interop language to me.

ClojureScript (shadow-cljs, nbb) for JavaScript

Clojure for JVM

babashka for scripts

libpython-clj for python interop.

ClojureCLR for .NET (beta state IMO)

ClojureDart for Dart/Flutter (early alpha state, one big shipped prod app on iOS/android)

--- Edit:

I don't quite know how to describe it, but having the _exact_ same files in a full-stack web application being read in both the Clojure backend and ClojureScript frontend (API contract) feels pretty neat. As an example having the frontend accurately give the user feedback why his input form isn't going to be accepted without a server round-trip or duplicating code just feels elegant.

Re:On Repl-Driven Programming (2020) by BeFlatXIII on Friday May 06, 2022 @02:29AM (#31281949)
I wonder if there is Clojure for the BEAM
Re:On Repl-Driven Programming (2020) by fredrikholm on Friday May 06, 2022 @02:54AM (#31282114)
Re:On Repl-Driven Programming (2020) by wnolens on Friday May 06, 2022 @09:47AM (#31285033)
Ok interesting thanks.