Comment 51 for bug 1267393

Revision history for this message
Seth Arnold (seth-arnold) wrote : Re: [MIR] juju-core, juju-mongodb, gccgo-go, gccgo-4.9, golang

Quoting myself: "I'm pretty new to Go, but it feels like there's a nice
opportunity to use the type system to create a ShellScript type that can
only be constructed from static strings and properly quoted arguments".

I don't know why it took me until just today to think it through, but what
bash (and Juju) are missing is an equivalent to SQL's prepared statements
with placeholders. That is the class that Juju is missing, and if properly
implemented, would doubtless be useful for the larger Go community beyond
just Juju, though Juju would likely be the largest consumer.

Thanks