On Apr 2, 2006, at 3:20 PM, Ben Bangert wrote:
Sure, that's great. But now I have this restriction on how I name methods in *my* application code, and I don't really like that restriction. Consider a far-out case where I have a particular learning disorder that makes it hard for me to recognize upper case letters; or I have a tendency not to scan to the end of a word, etc. I've spent too much time, perhaps, in W3C standards bodies where we try to be *very* careful about restricting namespaces. And, yes, the existing system includes a naming convention, which is the simplest one possible and also the most natural: if an action lists a method name, "foo", then it's precisely *that* method that is invoked. That's also a convention, but hardly a fair comparison IMO.
Well, google multimethods in Dylan. That's a dispatch system, quite elegant, and doesn't do method name restrictions. Very similar to CLOS.
No, of course not. But there's a huge difference between my imposing a naming convention on my programmers, and my framework imposing one on all of its users. That's the point of my W3C experience.
This is a red herring, Ben. I'm not arguing against naming conventions. I'm arguing against the one you've suggested for RestController, because it's far too implicit for my tastes.
I just don't like *this particular* naming convention. :>
Great. :>
I'm not sure I understand how to connect this controller with what routing.py does. For the restrict case, what happens if some other method ends up routed to that method? Is that possible?
Sorry, I couldn't parse this sentence.
I want to understand how it works with routing.py before forming an opinion. But thanks for being willing to listen to feedback! Kendall --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss -~----------~----~----~----~------~----~------~--~--- |
- Re: routes request Ben Bangert
- Re: routes request Kendall Clark
- Re: routes request Ben Bangert
- Re: routes request Kendall Clark
- Re: routes request Ben Bangert
- Re: routes request Jos Yule
- Re: routes request Kendall Clark
- Re: routes request Ben Bangert
- Re: routes request [EMAIL PROTECTED]
- Re: routes request [EMAIL PROTECTED]
- Re: routes request Ben Bangert
- Re: routes request iGL
