So, after finding the answer to why not all fissile material is used in a nuclear fission bomb (being blown in multiple directions), I thought that to solve this, the blast should be more focused and unidirectional, where fission fragments cannot scatter all over the place from the blast. Coincidentally, two 3rd Generation Nuclear Weapons sought to solve this issue: Casaba Howitzers (aka Project Orion) and Nuclear-Pumped Lasers (aka Project Excalibur).
Both are powered by nuclear fission (sometimes fusion) bombs and focus their power in a single line. Reduces unnecessary destruction and only has the destruction in the beam itself, and probably uses all the fissile material more efficiently too. Of course, why it is not invented today is lack of money and materials that can withstand either, and probably some ethics too. Just assume that the necessary parts (necessary shielding that ensures both weapon beams only come out in one direction) are here for this question.
Assuming full efficiency for both weapons as intended, when should Casaba Howitzers be used over Nuclear-Pumped Lasers, and vice versa, in the time of some war (both land and space)? When is one more useful than the other? What aspects make it that way?