When comparing XFWM vs twm, the Slant community recommends XFWM for most people. In the question“What are the best window managers for Linux?” XFWM is ranked 12th while twm is ranked 39th.
Ranked in these QuestionsQuestion Ranking
Pro Can choose to open windows at center of screen or edge
Pro Integrated compositing manager
XFWM has an integrated compositing manager, though it does have screen tearing.
Pro Left-half/Right-half window snapping
XFWM has a built-in option for window snapping.
Pro Great and beautiful theme support
It's very easy to create themes.
Pro Lightweight and desktop independent
Pro Was adopted as the default window manager for X11
twm was renamed Tab Window Manager (from Tom's Widow Manager) when it was adopted as X11's default window manager back in 1982. It was left behind many years ago but still stands as the foundation for every window manager that followed.
Pro Provided the base code for many other window managers
The code of twm was often built upon to create newer window managers such as FVWM.
Pro Simple and fast
Con Composite manager has screen tearing
The included composite manager in XFWM has screen tearing.
It should be mentioned that there's a workaround though:
compton --backend xrender --vsync opengl
Con Can be difficult to use
Most aspects of twm's interface operate differently than the more common UIs used in computing, thus reading the manual will more often than not be a prerequisite to using it.