News for hackers. Stuff that matters.
Re:REPL Driven Design by gumby on Thursday May 28, 2020 @02:28PM (#23340641)
This was the programming model I learned on the lisp machine and Common Lisp: define a few datastructures and some operations on them, explore them with some live data, and expand. All iteratively at the REPL.

A few years later a friend referred to this dismissively as “Programming by successive approximation.”

There is a lot of truth to this, but the distinction isn’t as sharp as it sounds: you still have to think ahead, and as you explore and expand you’ve typically always got something working, some test cases and invariants, and typically you have the benefit of working on live data.

Even though I do most of my work in compiled C++, my work model isn’t that different.

Re:REPL Driven Design by cozzyd on Thursday May 28, 2020 @08:00PM (#23344640)
You can use ROOT (or cling standalone) as a C++ REPL if you want to. It works surprisingly well, at least until you segfault it.
Re:REPL Driven Design by gumby on Friday May 29, 2020 @11:57AM (#23351522)
Thanks! ROOT itself looks interesting too.