Hacker News new | ask | show | jobs
by flippinburgers 1314 days ago
Docker is very convenient when it comes to maintaining uniformity across different developers machines. Once the boilerplate is done, 'docker compose' will stand up complex projects in a matter of minutes (depending in machine/internet speeds). Every startup that I have worked at uses docker and, honestly, I would question why one wouldn't want to use it.

Most of my work has involved rails or golang. Live debugging of go isn't really a thing. Rails on the other hand is usually done via a gem where you manually type in breakpoints and go from there. Regardless, it all works in containers.

Keep in mind that depending on your OS and docker setup, you can just have your container read files from your local filesystem. So edits are immediately reflected in your container and you don't need to build a new one when making changes. It is pretty flexible.

1 comments

What do you mean live debugging isn't a thing? Delve integration into Goland makes setting breakpoints and analyzing variables great.

Of course it's nothing like Python where you can stop execution and start manipulating variables...

Certainly delve exists and I'm sure it is fantastic, but it just isn't something I have ever needed to reach for when developing with go.