It's time for one of those posts again. Today's topic (as if it wasn't obvious from the title) is Naming! Feel free to share your memorable naming sightings too ...
Ilia Trendafilov spotted this one. As it turns out, Steve requested a new rule be added to the system. Of course, you'd have to ask him if you really want to find out what that rule is ...
BOOL CSApp::FillDocFmtArrSave(CABDocFmtArr &arr, BOOL bSteve_09_24_2003) { CString strFilterExt, strFilterName; CABDocFmtItm itm; if (!bSteve_09_24_2003) { //ED: Snip } //ED:Snip }
Next there's Stu Coates who came some rather interesting method names in a core dump after the Backup application on OS X crashed ...
Thread 2: 0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8 1 libSystem.B.dylib 0x90007018 mach_msg + 0x38 2 com.apple.CoreFoundation 0x901916e0 __CFRunLoopRun + 0x350 3 com.apple.CoreFoundation 0x90195e6c CFRunLoopRunSpecific + 0x148 4 com.apple.CoreFoundation 0x901ff32c CFRunLoopRun + 0x34 5 com.apple.DiscRecordingEngine 0x9544301c _BowelsOfDiscRecordingEngine + 0x12f6c 6 com.apple.DiscRecordingEngine 0x95441fc8 _BowelsOfDiscRecordingEngine + 0x11f18 7 com.apple.DiscRecordingEngine 0x9545059c _BowelsOfDiscRecordingEngine + 0x204ec 8 com.apple.DiscRecordingEngine 0x95427700 _DRWorkLoopThread + 0 9 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28
Of course, it's not just Apple who uses unique names for variables. Vexo took a peek at at the System.Reflection.Assembly class and found this:
Me? I would gone MC Hammer style and named it _CantTouchThis_NaNaNaNa. Wesley Aaron Mason came across this variable from the Really Long Names Department in the Quartz examples for Objective-C:
(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication { return YES; }
And finally, ChrisC found a rather Sexy (as in SqlCeException Exceptiony) error message.
...
Try lobjCommand.CommandType = CommandType.Text lobjCommand.ExecuteNonQuery() For Each lobjItem In list lobjItem.Save() Next Catch ex As Exception Catch Sex As SqlCeException MsgBox("Questions.Save : " & Sex.Message()) End Try