I can't beleive it's this late in the piece and nobody has said "TRWTF is MFC". Not to mention a char* and a CString& in the same function signature. And before anyone brings up some copy-by-value optimization justification for this, consider how many other languages have 3+ ways of representing a string. std::string, CString, char*, then there's BString... etc, and i'm sure OLE probably gets it's own string class too.
F
funluvncriminal
@funluvncriminal
0
Reputation
3
Posts
15
Profile views
0
Followers
0
Following
Best posts made by funluvncriminal
This user hasn't posted anything yet.
Latest posts made by funluvncriminal
-
RE: Still not sure if this is the worst code we have (but it is a good candidate)
-
RE: Why yes, yes I am.
@AngelSL said:
That is C#, not Java. Java has OutOfMemoryError, not OutOfMemoryException.
Plus, the java syntax for rethrow is simply throw; rather than throw x;
Normally I hate people who are this pedantic, and i'm sure i've made a spelling mistake for someone to pick up on, but, i'm bored tonight.
Oh, and speaking of pedantic, did i mention that the compiler will probably optimize this out anyway.
-
RE: The long way to India
@KrakenLover said:
For some reason, under periods of high use, all network traffic except connections between internal and external systems using whatever protocol Apple Remote Desktop uses for file transfers are excrutiatingly slow,
Honnestly, this sounds like you've got highly compressable data, and that the "Apple Remote Desktop" protocol implements a rudimentry compression scheme. If you got a raise for the rube goldberg machine you described, then i want to work for your company. By those standards i'd own the place in a month.