Welcome to the blog of Marcel Oelke from Frankfurt, Germany.

How to name something that imports and exports ?

Simple Question:
When a script/function/class exports something, I name it “exporter”.
When it imports something, I name it “importer”.
How do I name it when it does both?

What do you think? Write your thoughts into the comments please. Thanks!

11 Comments so far »

  1. biophonc said

    am October 11 2007 @ 1:21 pm

    maybe transport(er)? Because it describes only the movement from one place to another, regardless of the direction.

  2. Martin Holzhauer said

    am October 11 2007 @ 1:26 pm

    How about a stylisch Web2.0 name like IXPort ;P

  3. Ralf said

    am October 11 2007 @ 2:04 pm

    I once named a class and the corresponding file “impex” which was stupid. It was always hard to find that file when looking for it in the file tree.

    My advice: Make two classes and files. One for import and one for export.

  4. minde said

    am October 11 2007 @ 2:07 pm

    well..

    IMport, EXport. IM and EX show the direction. How about using two directional prefix: BIporter? :)

  5. Francesco said

    am October 11 2007 @ 2:29 pm

    what about “io”

  6. Fatjed said

    am October 11 2007 @ 8:43 pm

    I’ve chosen “Exchange”.

  7. Xander said

    am October 13 2007 @ 7:15 am

    “Gateway” springs to mind first, or for something maybe a little more - um, creative… how about “Customs” (as in airport security, allowing things in/out)? :-)

  8. bono said

    am November 22 2007 @ 5:10 pm

    Not sure what it does - make it shorter: porter ;)

  9. D'n said

    am November 28 2007 @ 3:37 pm

    I like minde’s idea, biporter… it leans both ways ;)

  10. Ian Boyd said

    am December 21 2007 @ 3:23 pm

    Suggestions #1: Add support for base64 encoded hashes.

    Suggestion #2: Also SHA1 hash plain text searches, in addition to MD5 hashing them.

  11. SneakyWho_am_i said

    am March 4 2008 @ 2:19 am

    Ian Boyd, I don’t think I would call it either of those things.
    Transporter was my first and natural choice.

    I say make it natural. Who knows, you could forget what you called it.

    Or better, what are the transport methods? Is it a database thing? filesystem, network?? Maybe that could swing the name a bit.

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: