Thanks Jono for linking that old thread. I totally forgot about it.
Regarding the issues mentioned in the other thread:
* namespace Castle.Core.Text sounds best to me
* I would make the methods extension methods
* I would not care about other languages or abstracting it. YAGNI.
* About "fixing it", if someone wants to provide a patch bringing it to
higher standard (I think Rails has the most used implementation so we
might look at that) I'll happily accept a patch but for my modest needs
I'm pretty sure what's already there will suffice.
Krzysztof
On 02/03/2011 12:26 AM, Jonathon Rossi wrote:
+1 for the original question, I have no objections.
There are a bunch of comments that are probably still relevant from
the Sep 2009 discussion on this exact topic:
http://groups.google.com/group/castle-project-devel/browse_thread/thread/14672e94f7cebbcd
2011/3/1 Krzysztof Koźmic <[email protected]
<mailto:[email protected]>>
Hi,
I've been looking at extending Windsor's DefaultInterface method
for matching services to components to support generics and I
found that in many cases the naming pattern uses plural form.
so you have:
public class Customer*s*Repository:IRepository<Customer> { }
so to match that it would make sense to use Inflector to pluralize
the name of the class to match the service properly.
So does anyone have any objections against moving Inflector class
for ActiveRecord to Castle.Core.dll ?
I think it has more generic usage than just for AR.
Krzysztof
--
You received this message because you are subscribed to the Google
Groups "Castle Project Development List" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:castle-project-devel%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/castle-project-devel?hl=en.
--
Jono
--
You received this message because you are subscribed to the Google
Groups "Castle Project Development List" 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/castle-project-devel?hl=en.
--
You received this message because you are subscribed to the Google Groups "Castle
Project Development List" 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/castle-project-devel?hl=en.