Well, it depends.
People like this are why companies ask programming questions that are slightly harder than fizzbuzz.
You might be able to get a middling, junior dev position, using her method, but good luck doing anything else with your life.
I certainly slacked off a bunch during school, as I only minored in CS. I was able to get a job, but I've had to work really hard after that to improve my skills, and go beyond the junior dev role (along with having to job hop a bit more than I am comfortable with).
And I also don't have any specialized knowledge, so I don't feel like I can do anything more than web dev.
The thing is, there is much more to a career in tech, than just being a mid level engineer. And it is difficult to go beyond that unless you can really bring useful skills and value to the table.