I like both if they have a good heat treat. The modern stainless steels are not the same poor examples as they were in the 1950s.
One of my favorite folding knives is a large Stockman pattern with D2 steel. It is somewhere in between. It will corrode but less so than other carbon steels but the steel stays pearlescent as you use it with food and will not darken. It is a very aggressive cutting steel with large carbides and the edge lasts a long time. It is one of my favorite steels.
Some stainless is actually tougher than some carbon steels and is still easier to sharpen. Carbon can take harder heat treats in some cases which cuts down on wear but they are more prone to micro chipping too at the higher hardness. Take Mora steel. The carbon is good and is slightly harder but the Sandvik stainless 12c27 which has a very fine carbide pattern, is a very clean steel and will not micro-chip like the carbon blades do. It holds an edge at least as long but it more prone to rolling. It is far easier to hone out rolls than chips. The cutting action is at least as good as their carbon.
I have not liked all the designer modern steels that so many custom makers use now. In my experience heat treat and edge geometry are more important than the ultimate steel. Some carbon steels and some stainless are so close in performance with the right heat treat and edge geometry that it really does not matter to me. I just don’t want to spend a lot of time touching up an edge after a little work. A few stropping swipes should really do it. If not, its not a good steel.
Good Finland carbon steel for an acute Scandinavian edge that will slice like crazy;
D2, somewhere in between and one of my favorites;
My Weinmuller single bladded trapper in stainless RWL 34, a premium powder metallurgy cutlery steel manufactured by Damasteel. It is manufactured from rapidly solidified powders, the microstructure of the steel is very uniform. This gives the steel much higher strength and resistance to cracking. Hans gets a perfect heat treat on his amazing creation and it cuts like a maniac and holds an edge for a long time. It is relatively easy to sharpen but then he does give his blades a very thin edge geometry. It holds up to heavy cutting well.