News for hackers. Stuff that matters.
Re:Things from Python I'd miss in Go by niemeyer on Tuesday June 10, 2014 @11:46AM (#7873209)
I missed a REPL at first too, which made me play a bit with REPL-for-Go ideas, but that didn't end up on anything really convenient. What solved the problem was rethinking why the REPL was convenient in the first place, leading to the creation of hsandbox:

http://labix.org/hsandbox

Despite it being created for Go, I got quite fond of the approach. Nowadays I also use it for Python, C, etc.

Re:Things from Python I'd miss in Go by swdunlop on Tuesday June 10, 2014 @02:55PM (#7874584)
Great tool. In Go, I usually write a throwaway_test.go in whatever package I'm hacking on, and use "go test" as my REPL. (With the intent that these experiments and crude checks should become unit tests later, anyway.) For exploring packages that I'm not developing, this is a nice variation from the Go playground.