The idea is that if you need dependencies, you only need them present during compilation on the machine you develop on. You then compile a statically linked binary and copy this to the machine where it's needed.
There may be other advantages like static types, editor integration and so on, but that's beside the point.