If you have a smaller floor plan, you might consider installing bypass doors. They're a flexible and inexpensive solution, but they won't work for every space.
A neutral bedroom with bypass doors on the wall-to-wall closet - John Keeble/Getty Images ...