I want to model guns, but how do I model stuff like THIS? On a lot of handguns, there are grooves on the slide to improve your grip when charging the handle. (racking the slide back to load a bullet into the chamber)

But how do I recreate these grooves? Do you just spam loop cuts?
You can do it with Bevel and Array modifiers:



Or, as suggested by Lukasz-40sth, you can do it with an arrayed cube, and at the end, same, use tris to finish the topology: