I'm an employer. I've had people give me 2 weeks of notice at extremely inopportune times. I am good for a solid recommendation for all of them. You don't dick around with people's careers.
Consider also the flip side of this issue. If you give me 2 months notice, and I need someone for a solid 4 months to execute a project, I may have to start recruiting now to fill that slot in time. We can talk all we want about the sacred bonds of trust between startup founder and startup employee, but none of that competes with the requirement to keep feeding and providing health care for the families of everyone else who works at the company.
I'm an employer. I've had people give me 2 weeks of notice at extremely inopportune times.
Right; I certainly wouldn't expect a bad recommendation if I did that. On the other hand, if I recognized that only giving two weeks notice would be inconvenient for my employer, and if it wouldn't be problematic for me, I think giving more notice is just a decent and honest thing to do.
For example, let’s suppose you are a two years out of college and have a job at a startup. You like your job but decide you want to go to graduate school. The big company legalistic types will tell you to secretly send in your applications, and, if you get accepted and decide to attend, give your boss two weeks notice.
What you should instead do is talk to your boss as soon as you are seriously considering graduate school.
This is bad advice. You should disregard it.
I gave 12 months notice when working for a startup before leaving for graduate school, and I wasn't "marginalized" at all. Giving my employer plenty of notice gave us time to talk about whether I really wanted to go to grad school (I did); to find a replacement (which I helped with); and to transition projects to other people. It also helped my employer plan: if you have a small technical team and a major contributor leaves, most startups would like more than two weeks to find a good replacement.
Any startup that "marginalizes" an employee who gives extra notice would be petty and small-minded: the employee is doing you a favor. Besides, by marginalizing you, they'd just be wasting the time you have remaining at the company.