473,763 Members | 9,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
7 1895

"Tim Smith" <ti*******@hotm ail.com> wrote in message
news:a7******** *************** ***@posting.goo gle.com...
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


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
nos
how about RAT route and transform
"Mike Wahler" <mk******@mkwah ler.net> wrote in message
news:Pu******** *******@newsrea d1.news.pas.ear thlink.net...

"Tim Smith" <ti*******@hotm ail.com> wrote in message
news:a7******** *************** ***@posting.goo gle.com...
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
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
On 5 Dec 2003 14:10:12 -0800, ti*******@hotma il.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.l earn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Jul 17 '05 #6
ti*******@hotma il.com (Tim Smith) wrote in
news:a7******** *************** ***@posting.goo gle.com 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
On 2003-12-05, Tim Smith <ti*******@hotm ail.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_trans form?

-- James
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2040
by: N.K. | last post by:
Hello, I'm trying to find a way to flexibly filter a column in a row of data read from a file. I will have data type of that column, the operation to be performed on it (like >, <, <= etc.) and the value to compare it to stored in a database. If I'm to write it in a procedural language it would be a big case statement like this: case int case <= return (value <= compare value) Can you think of a better way of doing it? I was thinking...
28
3305
by: David MacQuigg | last post by:
I'm concerned that with all the focus on obj$func binding, &closures, and other not-so-pretty details of Prothon, that we are missing what is really good - the simplification of classes. There are a number of aspects to this simplification, but for me the unification of methods and functions is the biggest benefit. All methods look like functions (which students already understand). Prototypes (classes) look like modules. This will...
7
3563
by: Michele Simionato | last post by:
So far, I have not installed Prothon, nor I have experience with Io, Self or other prototype-based languages. Still, from the discussion on the mailing list, I have got the strong impression that you do not actually need to fork Python in order to implement prototypes. It seems to me that Python metaclasses + descriptors are more than powerful enough to implementing prototypes in pure Python. I wrote a module that implements part of what...
9
2247
by: Rick Cook | last post by:
I would like to do a response form on one of my sites instead of posting an e-mail address for spammers. I've taken a couple of examples from sites, but the code looks clunky and non-conformant to my inexperienced eye. Also, on the sites I've found you can get the e-mail address simply by viewing the page source. It seems to me there should be a way to hide that, but as I say I'm hardly an expert. Can anyone recommend a good site to...
11
1535
by: Tim Smith | last post by:
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 :-)
12
2804
by: Steve W. | last post by:
I just read the section (and did the exercise) in the C# Step by Step book that covers Explict Interface Implementation (where you specify in the method implementation the specific interface that you are implementing in the class. Other than to resolve the problem that arises when a class implements two interfaces with the same method signature, what good is it?
2
1136
by: Martin Horn | last post by:
Hi group. I have implemented a class along these lines, Public Class CustomerDetails Private fRecordString As String Public Sub New(ByVal RecordString As String) fRecordString = RecordString End Sub
0
3214
by: Daniel Sélen Secches | last post by:
I found a good class to do a simple FTP. Very good.... I'm posting it with the message, i hope it helps someone ============================================================== Imports System.Net
24
2288
by: Gaijinco | last post by:
I found one of that problems all of us have solve when they begin programming: given 3 numbers print the greater and the lesser one of the set. I was trying to remember the if-then-else structure when something hit me and I wrote: // Function returns the greater or lesser numbers of two given numbers, // specified by a flag: 1 for greater (default), 0 for lesser
17
3807
by: Kevin Hall | last post by:
C++ is one of my favorite languages to work in. This is because it has so many differrent strengths. But there is also a number of blemishes in the language -- some could potentially be fixed, others are not likely. I wanted to open a discussion on what people think are the good and bad things about C++. Here are my lists: Good things about C++ --------------------- - multi-paradigm language. - const-specifications
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10148
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.