Hacker News new | ask | show | jobs
by Lyngbakr 1269 days ago
I'm getting stuck into Go at the moment and thoroughly enjoying it, but can it really fill the same niche as Python as the article suggests? (Sincere question.) Doesn't the absence of an out-of-the-box REPL hinder quick scripting? As I say, I'm new to Go so would love to hear about people's experience using it in this context.
2 comments

I use go and python pretty heavily, and I probably write twice the amount of functionality and three times the number of bugs in python in a day as go in a day. I take that to mean that they're good at different things, and therefore probably aren't quite as interchangable as the author makes them out to be.
With `go run` it can be effectively used as a scripting language.
But that runs the entire script/program rather than a single command, so it's not the same experience as a REPL, right?