Where as maybe a master's is a small advantage.
However, it does make sense given that the capabilities of people with bachelor's degrees and master's degrees become equal at some point, assuming all other things are equal. I do not think a master's degree is a ticket to a lifetime of greater competence in CS and salaries ought to reflect that.
The same could be said for PhDs too given the quality of work that we saw come out of places like Sun. There are plenty of CS people that I believe have only bachelor degrees that are not in any way inferior to holders of PhDs and in some ways, are more capable because their solutions are demonstrated to work in the field. I imagine some of them will receive honorary PhDs for their work.
This is not relevant to someone without a bachelor in CS though. I will post my opinion on that separately.
If you're going to look for a job in academia or research, then yeah, the educational background will matter. If you're going to write code that makes things work, it doesn't matter.
The same is true for the difference between 10 and 12. If those additional 2 years were more of the same, they matter little. But they also could have been full of significant new work and learning.
Knowing relevant theory is power. Is the goal to be an enterprise CRUD programmer or an architect who is a thought leader and helps set the direction of what you're working on?
I know everything can be done without a degree, I have a few genius friends who are doing great. But could they have had more options to choose from, more freedom, more potential with a degree? Hard to say, but most people don't self-learn everything they would otherwise.
But I still stand by the fact that unless you're going to stanford, CMU, or MIT, or a professor who is not strictly a theorist at an above average school takes a liking to you.
If not and you really enjoy the field you're better off teaching yourself.
No if: you want to work as a software engineer (made the mistake myself, some friends are in lead positions and earn way more than me and have generally more opportunities because they worked two years more than me, even if I graduated with a 3.8 GPA from one of the top 2 unis of the country) or if you think it will boost your skills as a developer (Udemy/Coursera work better).
Maybe: if you want to work in the government where these things have a value. But spending two years of your life (even if with a scholarship) doing something that might not turn out to be a good investment just for this reason is insane.