Not sure why the soldiers would have to write code. All the ranging and atmospheric factors, azimuth, rotation of the earth, etc. should be fill in the blank. There are rifle scopes which can make these calculations for long distance shots, and accept data from the spotter's optics to do so. I have trouble understanding why the same can't be scaled for artillery purposes.