No one said conversation/debate was a bad thing or that DM would have tons of plugins. The point is more that if one creates a plug in that implements an idea it is much easier to talk about because it is rather easy to look at how the changes actually works rather then pseudo-code discussions about how things could work. Clearly ideas like this and the exception stuff appear to really hit a cord with folks on both sides of the issue. As with most things people like to "touch and feel" concepts before making such major changes. That's exactly why a plugin makes great sense. I'm rather certain Dan or anyone else would be more then happy to be proven completely wrong with a great plugin that quickly gets integrated into the core because it's such a great improvement over the current implementation.
Some one has got to write code at somepoint - why not into a plugin? John On Thu, Dec 25, 2008 at 9:51 AM, Alex Neth <[email protected]> wrote: > > I have to agree that create returning an unsaved object is awkward. > This goes back to my earlier opinion on exceptions. The biggest issue > is that it's inconsistent with the save method. > > I also disagree with the philosophy of constantly telling people to > implement plug-ins for small API changes: > - The last thing DM needs is a ton of plug-ins that subtly modify > core behaviors. This would lead to compatibility nightmares and is > unmaintainable. Plug-ins add functionality. They should not reopen > core classes and modify their behavior. > - No one will install a such a plug-in unless it's a serious pain > point. This is too minor to warrant that effort in the face of all > sorts of maintenance problems. It would also be rare that someone > would find out about the plug-in. Just because it doesn't justify a > plug-in doesn't mean it doesn't justify changing. > - Debating better ways to do things is healthy. The status quo of > the implementation should be questioned when appropriate - with or > without alternative code - especially before 1.0. Debate is the first > step to creating better implementations. > - Suggesting someone create a plug-in seems to be a crutch to avoid > thoughtful discussion. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
