At one point in last night's after-hours trading, Starbucks' (NASDAQ:SBUX) shares spiked on word that the company will be closing stores and cutting jobs. I guess maybe in the harsh morning light, maybe even while standing in line for a latte, many investors realized, "Hey, what about my barista?" The euphoria has died down a bit today.

Starbucks plans to shutter 600 stores ( including previously announced 100 closures) and slash a whopping 12,000 positions here in the United States. This isn't entirely surprising -- downbeat news from Starbucks started circulating earlier this year, when I observed that the coffee giant cutting jobs was like something from Bizarro World. Of course, the fact that it doesn't seem so "bizarre" anymore isn't exactly heartening.

Of course, sometimes the truth hurts, and sometimes the only way to make things better is to recognize the serious problems and get to work doing something about them. And that sounds like what Starbucks is doing at the moment.

Mapping the retreat
In Starbucks' press release, it said that it will try to place some of the affected baristas into other jobs at other stores, but obviously it will still have to say "so long" to many of them. The stores that are marked for shuttering are located across the U.S. market, and 70% of the locations were opened since fiscal 2006, which tells us what some had expected: The breakneck speed with which Starbucks was opening new stores over the last couple years really was too good to be true. (In fact, "too fast to be sane" might be a better description.)

Flash back to this November 2006 article, “Starbucks Keeps Sprouting,” which broke down fiscal 2006 store openings to six per day. It looks like that was a little much after all.

Starbucks also gave a little indication of the criteria it used to make the decisions on which stores to cut. It said that it targeted stores that aren't profitable at the store level, and are not expected to be in the foreseeable future (good!), and that it took the impact of current and anticipated economic trends into consideration as well (also good!).

Of course, this gives much more credibility to the idea that Starbucks way overexpanded. I recently asked Foolish readers whether they thought Starbucks is a fad (I got some great responses on both sides of the issue), and of course, bears have long been calling the company overexpanded in the States. Starbucks casting a critical eye on its U.S. growth and curtailing it is far better than putting its head in the proverbial sand and hoping things improve.

After all, you could accuse long-struggling Gap (NYSE:GPS) of not only overexpanding but also failing to take the necessary measures to get things back on track. We all know the malaise that retailer has suffered through, and it’s still contemplating slimming down store counts and square footage.

The good, the bad, and the ugly
As tough as this all is (I hope all my favorite baristas will be sticking around), I think these developments are good news for Starbucks shareholders over the long run. I still don't believe Starbucks' brand is busted, and a focus on keeping the most profitable stores and ditching underperformers seems like a smart move to me.

Of course, I'll bet competitors of all stripes, such as Peet's (NASDAQ:PEET), Caribou (NASDAQ:CBOU), McDonald's (NYSE:MCD), Panera (NASDAQ:PNRA), and mom-and-pop shops, really see this as joyous tidings. After all, if Starbucks makes a retreat in some markets, it might make their lives a bit easier.

This is also an example of a situation in which the "good" news actually means the near term is pretty bad -- and pretty ugly. It doesn't exactly shine a comforting light on the overall economy, which has already been shedding plenty of jobs. Even though many Starbucks workers are part-time employees, Starbucks is well-known for treating its workers well. Furthermore, now it's one less employment option for those who are looking for work or seeking ways to raise extra money for rising expenses. Ouch.

The coffee's still fresh
I've noticed my Foolish colleague Rick Munarriz has been among the adamant Starbucks bears, and even recently pointed to it as a good stock to throw away. Personally, though, I'm hanging on to my shares of Starbucks.

I can see the short term is going to be tough for Starbucks, much as it will be for many retailers, leading to some difficult decisions and changes in strategy. However, Starbucks has one of the greatest brands out there, sells high-quality products, and has a passionate and visionary corporate leader in Howard Schultz. Sure, there is plenty of bearishness out there on Starbucks, but I'm still willing to wait this one out -- and I believe the long term's still bright.