Live data from Hacker News

What makes a good REPL?

vvvvalvalval.github.io

1–10 of 177 posts

Re: What makes a good REPL?

#2
Yes, Clojure(script)'s REPL experience is really amazing. I don't think there are any general-purpose languages (beside Common Lisp) actively being used today that even come close in comparison. What's comes with Python, Ruby, C#, JavaScript, etc. - is a feeble attempt of an interactive shell, those aren't really REPLs. Even with Haskell I was really surprised to find out that you can't "send" any selected piece of Haskell code onto GHCI.

Re: What makes a good REPL?

#4
Matlab has a nice sort-of-repl feature which I miss in every other language: you can separate the code in a file into several blocks and then execute the current block (the one with which contained the cursor) with ctrl+enter. With this feature you still have the full text editing capabilities but you also have a flexibility you get from a repl.

Re: What makes a good REPL?

#5

Matlab has a nice sort-of-repl feature which I miss in every other language: you can separate the code in a file into several blocks and then execute the current block (the one with which contained the cursor) with ctrl+enter. With this feature you still have the full text editing capabilities but you also have a flexibility you get from a repl.

Lisp + Emacs + SLIME: miss no longer.

Picking them all up is a tall order though.

Re: What makes a good REPL?

#6
There's a lot of excitement about compiled languages lately, and many seem to wonder if interpreted languages are dying. Unfortunately I don't see the value of a good REPL brought up in those conversations very often.

Re: What makes a good REPL?

#7

There's a lot of excitement about compiled languages lately, and many seem to wonder if interpreted languages are dying. Unfortunately I don't see the value of a good REPL brought up in those conversations very often.

I like a good interpreted language as much as the next guy, but there are REPLs for compiled languages. Pretty sure Scala has one and maybe Haskell

Re: What makes a good REPL?

#8
post #7

There's a lot of excitement about compiled languages lately, and many seem to wonder if interpreted languages are dying. Unfortunately I don't see the value of a good REPL brought up in those conversations very often.

I like a good interpreted language as much as the next guy, but there are REPLs for compiled languages. Pretty sure Scala has one and maybe Haskell

Though, they are lacking the magic of a REPL in CL. Hotspot replacement in JVM languages is neat compared to the magic of redefinitions in CL.

And it seems nobody ever tries hooking a REPL up to a running system anymore.

Re: What makes a good REPL?

#9
post #5

Matlab has a nice sort-of-repl feature which I miss in every other language: you can separate the code in a file into several blocks and then execute the current block (the one with which contained the cursor) with ctrl+enter. With this feature you still have the full text editing capabilities but you also have a flexibility you get from a repl.

Lisp + Emacs + SLIME: miss no longer. Picking them all up is a tall order though.

What do you mean with "picking them all up?"

Re: What makes a good REPL?

#10
post #7

There's a lot of excitement about compiled languages lately, and many seem to wonder if interpreted languages are dying. Unfortunately I don't see the value of a good REPL brought up in those conversations very often.

I like a good interpreted language as much as the next guy, but there are REPLs for compiled languages. Pretty sure Scala has one and maybe Haskell

Java is getting one with the upcoming Java 9 release.
Post reply on HN