I realize this is just over two years beyond acceptable posting guidelines, but I might as well give my two cents for the topic as a whole:
By itself, the no attachments bit would not have been that bad, as there have been religious orders (especially Catholicism) and even secular elements (ie, the military) that forbids forming close bonds with your fellow brethren, and many times the reasons why make quite a bit of sense, as there shouldn't be any divisions of loyalty to your duty or any clouding of judgment.
However... the Jedi Order's practices of that no attachments policy when Anakin was a padawan, specifically HOW they practiced it, was definitely VERY bad. It's one thing to not marry when within a religious order, that makes sense. However, to be forbidden to even grieve for anyone you considered family or even a loved one, or even CARE if they have died (as Yoda put it in his "advice" to Anakin, "Mourn for her do not, Miss her do not"), that's just disgusting and downright callous. In fact, since Anakin was trying to actually HELP his wife from potentially dying, which, you know, the entire POINT of being a Jedi is to help people, taken logically, Yoda's inference that those things would lead to possession and jealousy and thus be the shadow of Greed, that means the Jedi themselves merely by helping people would automatically qualify in that department.
What's worse is that, when you get right down to it and really think it over, it really makes them absolutely no different from the Sith they were supposed to be fighting against, in particular Palpatine. Just look at Palpatine's actions overall, and you'd realize that, taken logically, his actions actually matched up with the no attachments rule exactly, since Palpatine did not care in any way if someone close to him died, and many times, he betrayed and murdered those that placed their loyalty and trust in him, and he explicitly considered everyone to be expendable pawns. That even included his own family, his foster father in the form of Darth Plagueis, his various Sith apprentices, most notably Dooku and Vader (and Vader's even worse since, thanks to the Grand Experiment, Vader's probably the closest Palpatine has to an actual son, and he backstabbed him twice, first with Marek, then with Luke). Heck, for a guy so hell-bent on ruling the Galaxy for all eternity that he was willing to not only clone himself and possess said clones in the event that he met a premature end, but was even willing to possess a baby just to ensure he survived, he also was shown to have a surprising amount of downright disregard for his own life, perfectly willing to gamble his own life and likely even forfeit it just for the prospect of turning a person to the Dark Side of the Force by inciting them into murdering him (in that way, he's actually pretty similar to the Joker), and one time when this failed due to outside interference, he actually attacked the guy responsible for interfering, Rahm Kota, specifically BECAUSE he essentially prevented Marek from killing Palpatine, so we can't even say he even has attachment to his own life all that much. Did I mention that Palpatine also was well within the shadow of greed without even BEING or likely even HAVING jealousy or possessiveness at all, being so cold hearted that even Hoth is downright tropical compared to this? That alone basically destroys Yoda's claim about that, and by extension Lucas's claims since that was based on Lucas's shoddy script writing and storytelling.
In fact, forget Palpatine, heck, even forgetting the Sith as a whole (whose entire doctrine of Rule of Two makes VERY clear that they literally place no attachments to anyone, certainly not to each other, willing to kill each other at a mere whim), I can cite plenty of villains in other series who display a clear disregard for any attachments to the extent that they have absolutely no qualms with betraying and murdering even those who place a significant amount of trust in them. Namely, Albert Wesker from Resident Evil (backstabbed S.T.A.R.S., Umbrella, their rival, Excella Gionne, etc., etc. Probably the only person he HASN'T backstabbed and was actually loyal to was Alex Wesker if the Japanese version of Revelations 2 is to be believed. Well, her and William Birkin, probably being the only other person Wesker seemed to actually value as a friend and tried to go out of his way to make sure he was saved. Probably the only one who's even worse of a backstabber would have been the owner of Umbrella, Oswell E. Spencer, who's essentially Palpatine if he ran a medical company, and in fact, it's implied Wesker picked up on his backstabbing and no attachments actions directly from the master, so to speak), Galenth Dysley/Barthandelus from Final Fantasy XIII (no description necessary, this video would more than suffice in demonstrating EXACTLY how Dysley/Barthandelus lacked any attachment to anyone and anything, himself included:
https://www.youtube.com/watch?v=H3UT8g3jQG0), Kefka Palazzo from Final Fantasy VI and Dissidia (basically, destroys anything in his path, doesn't even care if some of his war crimes actually result in Imperial casualties, proceeded to blow up the world AFTER backstabbing the Emperor he served under, and even indicated that life and creation were ultimately meaningless and strongly implied that it was such he was even willing to include himself among the destruction both due to nihilism and due to his being a massive sadistic psychopath to Joker levels, and Dissidia highlights this by even going so far as to make him downright suicidal in his last moments). If we were to apply the no attachments rule right down to what they'd imply in the most exact manner, those guys, some of whom are such monsters they make Palpatine seem like a total saint by comparison (at least Palpatine actually did think he was doing the right thing regarding making a Sith-based government to bring order to the galaxy. The likes of Dysley and Kefka, if they ever decided to run the Empire, would probably just blow it up out of a fit of nihilism and not even bother trying to do any order at all, being far more concerned with killing people in the most horrific manner even, in Kefka's case), would be Jedi knights. Do you see just how much of a disaster that would spell? That wouldn't breed peace in the Galaxy, that would breed mass murder just for fun.
That's actually my main problem with the way the no attachments thing was handled in the Prequels. It essentially gave the implication that the Jedi were a bunch of psychopaths who didn't care about anyone or anything. And Yoda's advice to Anakin certainly didn't help matters either. I don't have a problem with no attachments in itself, since let's face it, plenty of religious and even secular organizations have done it, but even those at least were far more reasonable than what the Jedi did (ie, while the Catholic priesthood may not allow its members to marry, they at least don't tell them to be so cold hearted as to not even mourn for anyone they cared for who died at all, or to not miss them at all, and they certainly don't imply that if you try to help someone from death, you're basically going into the shadow of greed when that inherently conflicts with the mere ideal of actually helping people.). In fact, I'd argue that the Jedi, while not selfISH, aren't even selfLESS, either. If anything, their ideal is probably far closer to nihilism, which is basically selfishness to the exteme that you aren't even willing to spare the self part (hence why it isn't really "selfish", since selfishness at least tries to make sure that the self isn't harmed in any way when hurting others). In other words, you go out of your way to harm as many people as you can, yourself included.
Sorry for the rant, but the non attachments policy as dictated in the prequel trilogy really doesn't work at all, and I really can't blame Anakin for feeling that way. If Lucas wanted us to feel sorry for the Jedi, that no attachments thing as it was handled if anything killed any sympathy for their plight as they had it coming.