Hi,
it really depends on the application.
For 3D scanning/reconstruction, we would do a "painting motion", while coming back to initial position after a couple of meters to close a loop (e.g., for each room, make sure to end where we start the scanning). See
https://www.youtube.com/watch?v=XqJbFn5rJfE for example.
For robot navigation, it would be better to move around the robot with similar trajectories that the robot would do in autonomous mode to increase localization accuracy. It is particularly important for visual slam, where in general we only have a single camera pointing forward, and thus localization would happen only if we pass by mapped locations with same camera position and orientation. For example, if you want to navigate in a corridor in different direction, make sure to map in both directions (the camera cannot localize against locations taken in 180deg direction). With lidar SLAM (with 360deg field of view), we are less constraint by the orientation of the recorded locations in the map, so we could just map the corridor once in a single direction (though it is still preferable to do it in both directions if a camera is also used for loop closure detection). An example of this can be found in this paper:
Long-term online multi-session graph-based SPLAM with memory management.
cheers,
Mathieu