that's a grotesque assessment of pluralsight. YouTube doesn't offer project files.
Now, might some websites that use YouTube for video have project files? sure, but that's not "YouTube". That's a random YouTuber with a development site.
If you want to learn something very specific and don't have the time for a longer course and aren't going to actually do the assignments, then the ROI for YouTube is definitely higher. If you want to just flat out learn a language starting from scrartch, it's no contest. Pluralsight is better.