By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,468 Members | 1,859 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,468 IT Pros & Developers. It's quick & easy.

mindless: Do you have a good name for a class that...?

P: n/a
Do you have a good name for a class that is both routes and transforms
a message?

Somehow transouter or routformer doesnt jive, and a most things that
route,send, direct don't also transform, and things that convert or
change don't also route?

Any ideas? Trying to avoid two words as well. Should have taken more
English classes along with Comp Sci :-)
Jul 17 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a

"Tim Smith" <ti*******@hotmail.com> wrote in message
news:a7**************************@posting.google.c om...
Do you have a good name for a class that is both routes and transforms
a message?

Somehow transouter or routformer doesnt jive, and a most things that
route,send, direct don't also transform, and things that convert or
change don't also route?

Any ideas? Trying to avoid two words as well. Should have taken more
English classes along with Comp Sci :-)


How about "Dispatcher"? IMO implies dispatch to either/or/and a
'transformation' or 'target' procedure.

-Mike
Jul 17 '05 #2

P: n/a


Tim Smith wrote:
Do you have a good name for a class that is both routes and transforms
a message?


Yes, non-cohesive ;-). But this is OT for comp.lang.c anyway...

Ed.

Jul 17 '05 #3

P: n/a
nos
how about RAT route and transform
"Mike Wahler" <mk******@mkwahler.net> wrote in message
news:Pu***************@newsread1.news.pas.earthlin k.net...

"Tim Smith" <ti*******@hotmail.com> wrote in message
news:a7**************************@posting.google.c om...
Do you have a good name for a class that is both routes and transforms
a message?

Somehow transouter or routformer doesnt jive, and a most things that
route,send, direct don't also transform, and things that convert or
change don't also route?

Any ideas? Trying to avoid two words as well. Should have taken more
English classes along with Comp Sci :-)


How about "Dispatcher"? IMO implies dispatch to either/or/and a
'transformation' or 'target' procedure.

-Mike

Jul 17 '05 #4

P: n/a
Tim Smith wrote:
Do you have a good name for a class that is both routes and transforms
a message?

Somehow transouter or routformer doesnt jive, and a most things that
route,send, direct don't also transform, and things that convert or
change don't also route?

Any ideas? Trying to avoid two words as well. Should have taken more
English classes along with Comp Sci :-)


Perhaps the fact that you can't think of a good name indicates that you
are trying to put too much functionality in one class. What about
separating the functionality into two classes, one for routing and one
for transforming?

Ray

Jul 17 '05 #5

P: n/a
On 5 Dec 2003 14:10:12 -0800, ti*******@hotmail.com (Tim Smith) wrote
in comp.lang.c:
Do you have a good name for a class that is both routes and transforms
a message?

Somehow transouter or routformer doesnt jive, and a most things that
route,send, direct don't also transform, and things that convert or
change don't also route?

Any ideas? Trying to avoid two words as well. Should have taken more
English classes along with Comp Sci :-)


C doesn't have classes. Kindly don't post questions about them to
comp.lang.c.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Jul 17 '05 #6

P: n/a
ti*******@hotmail.com (Tim Smith) wrote in
news:a7**************************@posting.google.c om on Fri 05 Dec 2003
03:10:12p:
Do you have a good name for a class that is both routes and transforms
a message?


Yes. Off-topic here.

Jul 17 '05 #7

P: n/a
On 2003-12-05, Tim Smith <ti*******@hotmail.com> wrote:
Do you have a good name for a class that is both routes and transforms
a message?


[NB, comp.lang.c removed from Newsgroups]

Such devices are sometimes called a "gateway" or "proxy".

But why not just make the composition explicit and use route_and_transform?

-- James
Jul 17 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.