RE: https://fosstodon.org/@pyconsweden/115944867558064453

How could I even develop things without the REPL and without the interactivity when writing code?

#python #repldrivendevelopment #emacs

Part 2 of the blog post series by Jokim Tengstrand, about building a Tetris game step-by-step with Clojure and Python.

In this post, Joakim use REPL Driven Development and a functional programming style in both languages to develop the game.

https://tengstrand.github.io/blog/2026-01-11-tetris-playing-ai-the-polylith-way-2.html

#python #clojure #polylith #functionalPrograming #tetris #repldrivendevelopment

Tetris-playing AI the Polylith way - Part 2

#TIL that #Julialang has a #REPLDrivenDevelopment very similar to #Clojure. You can send functions, code blocks or files to the REPL for evaluation. That's pretty amazing!

How is the library ecosystem for Julia? I know there are fewer libraries… but are they well maintained, and not as broken as with Python for example?

πŸš€ Introducing python-tap - a tiny Python library useful for REPL Driven Development

Useful when running code on your local machine. With this tool, you can store and process data, such as function input parameters or local variables. This is useful when inspecting code and flows, and when running code in a REPL. You will have all the tapped data available in the session.

Yes, it is inspired by "tap>" in Clojure!

https://pypi.org/project/python-tap/#description

#python #repldrivendevelopment #opensource #clojure

Client Challenge

Feedback loops in Python

How fast can we get useful feedback on the Python code we write?

Following up on my work with trying to make Python development more interactive with REPL Driven Development (previously posted article "Are we there yet?").

I recorded a very much improvised video πŸ˜…

I demo the setup and the workflow. Starting up a Jupyter kernel, connecting to it from my code editor, and modifying a running program.

About 13 minutes:
https://youtu.be/nJC9EVHjI24?si=SpRb-O7aRRGcdV5e

#python #emacs #jupyter #repldrivendevelopment

REPL Driven Development in Python with emacs

YouTube

Development cycle time decays just like anything else in software. If not actively maintained, it gets worse over time.

I've worked on Clojure development cycles with tools.namespace and Component, but it's still hard: You have to intentionally design your code for interactive development and be careful not to break the feedback cycle.

https://github.com/stuartsierra/component.repl

#SoftwareEngineering #BitRot #Clojure #REPLDrivenDevelopment

GitHub - stuartsierra/component.repl: Development utilities for the Component framework

Development utilities for the Component framework. Contribute to stuartsierra/component.repl development by creating an account on GitHub.

GitHub

A while ago, I wrote an article about my attempts to make development in Python more interactive, more "test" driven and more fun.

My North Star is the developer experience in Clojure, where you have everything at your fingertips using REPL Driven Development.

One thing that I haven't been able to figure out until now, is how to modify and evaluate Python code from an actual running program - without any restarts.

https://davidvujic.blogspot.com/2025/03/are-we-there-yet.html

#python #emacs #jupyter #repldrivendevelopment

Are we there yet?

Continuing with the work on tooling support for interactive and fun development with Python.

During the holidays, I have been experimenting and learning some Emacs Lisp. That was fun! I wrote a post about it and how I use it when writing Python code:

https://davidvujic.blogspot.com/2025/01/better-python-developer-productivity-with-rdd.html

#python #repldrivendevelopment #repl

Better Python Developer Productivity with RDD

Improvements of the REPL Driven Development experience in Python

I'm working on some Emacs Lisp code to make REPL Driven Development a nicer experience in Python. Since before, I do this already by sending code to an IPython shell buffer (old blog post in thread).

But I have always missed the nice DevX from Cider & Clojure, where the evaluated result is displayed right next to where my eyes are focused on (the current line of code).

I hope to be able to develop a package (or maybe just a config) shortly.

#emacs #repl #repldrivendevelopment #ipython #elisp