Running Back Screaming!

i dont have much time compatriots so i will make this quick...

ive been taken off my java projects and put on a temporary

c++ and visual basic project (my first).

i am in abject hell (would smalltalk be object hell?).

i read that even microsoft doesnt use MFC. that sounds about right.

i wish i could punch Bjarne Stroustrup for the "->" operator.

there are 32+ operators on the keyboard but he had to double them up?

i just love how well documented the window api and mfc are.

and in case no one has had the pleasure the msdn website is so

delightful that ive actually poked myself in the eyes with my pen.

i guess i should be playing in the windows programming forums (whatever or wherever that may be) but id rather quit my job, lol...

[813 byte] By [TuringPesta] at [2007-11-27 5:55:59]
# 1

MFC is the single most frustrating concept that I have ever tried to make work. The documentation is there, but it's not that helpful as anything but a reference.

As for Visual Basic, I've had to deal with that too, as well as ASP using VBScript. VB and VBScript both have the feel of being hacked togeter. So, I can sympathize.

P.S. And this->that

is slightly more attractive than (*this).that

, so I've always been a little thankful for the -> operator :).

kevjavaa at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 2

>> MFC is the single most frustrating concept that I have ever tried to make work. The documentation is there, but it's not that helpful as anything but a reference.

UGH. You should have seen my stupid naive face when I opened up

Visual C++ and said out loud... "okay there. now wheres new Window setVisible?"

if only i knew then...

TuringPesta at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 3

I've never liked the -> operator either - I always thought it looked silly. But then I'm generally terrified of C++ - there seems to be an unwritten rule that all code written in it has to be as unreadable as possible and no one's allowed to use vowels in their variable names, replacing them with underscores if possible.

DavidKNa at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 4
[double post]
TuringPesta at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 5
>> has to be as unreadable as possible and no one's allowed to use vowels in their variable namesholy krist, and they should waterboard the @ss that invented hungarian notation. the hungarian people dont need that on their conscience...
TuringPesta at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 6

> >> has to be as unreadable as possible and no one's

> allowed to use vowels in their variable names

>

> holy krist, and they should waterboard the @ss that

> invented

> hungarian notation. the hungarian people dont need

> that on their conscience...

That was DrLaszloJamf who invented that. He is now a prisoner at Deja Vu mens club in Ottawa, ON, for the rest of his life. Poor guy.

filestreama at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 7

> >> has to be as unreadable as possible and no one's

> allowed to use vowels in their variable names

>

> holy krist, and they should waterboard the @ss that

> invented

> hungarian notation. the hungarian people dont need

> that on their conscience...

Oh, come on...

char *m_rglpszNms;

<sarcasm>

What's unclear about that? How could you not know that it's a member variable of the class, referring to an array of long pointers to null-terminated strings called Nms? Looks perfectly clear to me.

</sarcasm>

kevjavaa at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 8

There's something about Hungarian and obfuscation. I was at a

music store trying to order Leonid Malashkin's "could I but express in song"

(yes, he's Russian, but wait for it...) and I looked down at what the clerk

had written: "Kod醠y's Buttocks Pressing Song". I mean, really!

Hippolytea at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 9
"Kod醠y's Buttocks Pressing Song" rofl!
TuringPesta at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 10

> "Kod醠y's Buttocks Pressing Song" rofl!

It is a song about the famous Hungarian economist, Tam醩 Kod醠y, who in 1983, was sitting in his office one night counting up the number of times Vladimir Lenin picked his nose in public, when in a moment of boredom, walked over to the photocopier, dropped his pants, and xeroxed his butt.

filestreama at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 11
> "Kod醠y's Buttocks Pressing Song"That's not really a song per se, it's actually one of the Dances of Galanta.
DrClapa at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 12

> It is a song about the famous Hungarian economist,

> Tam醩 Kod醠y, who in 1983, was sitting in his office

> one night counting up the number of times Vladimir

> Lenin picked his nose in public, when in a moment of

> boredom, walked over to the photocopier, dropped his

> pants, and xeroxed his butt.

As unlikely as that sounds, it probably lends itself to a Cs醨d醩.

Hippolytea at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 13

> > It is a song about the famous Hungarian economist,

> > Tam醩 Kod醠y, who in 1983, was sitting in his

> office

> > one night counting up the number of times Vladimir

> > Lenin picked his nose in public, when in a moment

> of

> > boredom, walked over to the photocopier, dropped

> his

> > pants, and xeroxed his butt.

>

> As unlikely as that sounds, it probably lends itself

> to a Cs醨d醩.

I think my "story" is highly plausible! ;-)

filestreama at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...
# 14

I feel your pain.

Nothing comes naturally in MFC. The only people who actually know MFC and are good at it must have learned from somebody else who already knew MFC.

This is so because of a sheer lack of documentation or support.

You should really press for a case to convert the program into Swing and strip the native functionality of the program out into seperate DLL's that you can call using JNI.

maple_shafta at 2007-7-12 16:25:36 > top of Java-index,Java Essentials,Java Programming...