The second of these two statements is pretty much accepted as common knowledge by anyone even passingly familiar with how app caches and RAM work in Android, but the first statement is not as commonly understood. This is why the developer of Greenify, a great app you can use to hibernate apps that have a tendency to stay up past their bedtime, decided to clear things up.
This is also why the dev behind Greenify, Oasis Feng, decided to illuminate us with the following pearls of wisdom:
Swiping away apps from recent tasks frequently is not a good practice, since it reduces the efficiency of process cache mechanism in Android, thus impact the performance of your device.
Swiping away apps from recent tasks kills the process of those apps, thus prevent them from being cached in memory. When you launch them later, it takes longer time and much more CPU cycles to create the process and re-initialize the app runtime.
Clearing recent tasks does free much memory, at the expense of later performance and battery consumption for launching those apps again. So if you have a device with 2G RAM, it gains no benefits in practice.
Coming from a developer involved with an app that is very well recognized for managing your apps, background processes and processor consumption, you can assume he knows what he's talking about. So, the moral of the story is this: clearing everything from the recent apps list is a waste of time unless you seriously need every inch of RAM available right there and then. Clearing out apps you're not going to switch between regularly however, is perfectly fine. So, your frequently used apps can stay and everything else can be killed with fire. Simple.