PDA

View Full Version : So I wrote a class.



brewbuck
12-12-2008, 10:31 PM
I wrote a class. Its name was: CXDGJUIMXDC. Can anyone suggest a better name? K thnx bye.

Thantos
12-12-2008, 11:01 PM
O00O00O00000OO00OOOO00000O is a better name

zacs7
12-12-2008, 11:06 PM
l1l1l1l1l1l1l1l1l1l1l100O0O0O0O0OO0O0O0Ol1l1l1l1l1 l1l1l1l1l1l1l (lol)

stevesmithx
12-12-2008, 11:14 PM
Gav3eosestel4allghkaz9avnubreg5gex9resylu4gaplao7v apwebkoa8owloe
Edit:
There seems to be bug:
Between v and a i didn't include any space in my post.
Apparently zacs7 should have had the same problem, methinks.
On second thought it could be a feature.
who on earth is going to use a word that is 50 characters long?

brewbuck
12-12-2008, 11:42 PM
You only THINK it means nothing.

Class XPS Driver Golden Jet User Interface Microsoft XPS Document Converter.

Makes sense? Okay.

stevesmithx
12-12-2008, 11:59 PM
Ah!That's a really long acronym.
I guess your sig holds true here. :)

zacs7
12-13-2008, 12:36 AM
At least it's descriptive...

abachler
12-13-2008, 12:47 AM
I wrote a class. Its name was: CXDGJUIMXDC. Can anyone suggest a better name? K thnx bye.



class MyClass {
};

kbat82
12-13-2008, 02:44 AM
class void_main

best joke name i could think of at this hour.

jwenting
12-13-2008, 03:54 AM
You only THINK it means nothing.

Class XPS Driver Golden Jet User Interface Microsoft XPS Document Converter.

Makes sense? Okay.

XpsDriverGoldenJetUIMSXpsDocCon makes sense and isn't impossibly long (meaning, I've seen and created longer names).

CornedBee
12-13-2008, 07:27 AM
Why not just XPSConverter? What other kinds of XPSs are there?

twomers
12-13-2008, 07:50 AM
Why not Class_XPS_Driver_Golden_Jet_User_Interface_Microso ft_XPS_Document_Converter?

Edit: Weird. I've got a space in Microsoft.....

anon
12-13-2008, 08:13 AM
XDGJUIMXDC - the C prefix is pretty much meaningless and confused a lot of people here :)

indigo0086
12-13-2008, 12:01 PM
Class XPS Driver Golden Jet User Interface Microsoft XPS Document Converter.

Why not just put it in the namespace GoldenJet::UI::XPS:: DocumentConverter

brewbuck
12-13-2008, 02:50 PM
Class XPS Driver Golden Jet User Interface Microsoft XPS Document Converter.

Why not just put it in the namespace GoldenJet::UI::XPS:: DocumentConverter

Because it's not a document converter, it's not part of the UI, and it has nothing to do with Microsoft. That's just what UIMXDC happens to stand for.

In fact, this class only exist in order to implement one of the methods defined in the IPrintOemUIMXDC interface. Since the basic piece of software here is an XPS driver called "Golden Jet" the name goes: XPS Driver, Golden Jet, the part which implements that stupid UIMXDC thing.

IPrintOemUIMXDC is an interface exported by a Unidrv UI plugin which provides three methods that MXDC uses to determine how to perform certain actions when converting a GDI print job to an XPS document. In this case I need to control the image compression (i.e. disable it).

So the name didn't arise as capriciously as it might seem at first. It still sucks though.

robwhit
12-13-2008, 04:56 PM
How about a nested class or an unnamed namespace?
namespace {
namespace helper {
class Cshort;
}
}

indigo0086
12-13-2008, 06:22 PM
Because it's not a document converter, it's not part of the UI, and it has nothing to do with Microsoft. That's just what UIMXDC happens to stand for.

In fact, this class only exist in order to implement one of the methods defined in the IPrintOemUIMXDC interface. Since the basic piece of software here is an XPS driver called "Golden Jet" the name goes: XPS Driver, Golden Jet, the part which implements that stupid UIMXDC thing.

IPrintOemUIMXDC is an interface exported by a Unidrv UI plugin which provides three methods that MXDC uses to determine how to perform certain actions when converting a GDI print job to an XPS document. In this case I need to control the image compression (i.e. disable it).

So the name didn't arise as capriciously as it might seem at first. It still sucks though.


could have put that in the op and saved us the time of humoring you