Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I got annoyed by some of the daft names in Java, so I went through and found some of the worst offending method names. The longest method names I could find are "supportsDataDefinitionAndDataManipulationTransactions" (for Java Development Kit) and "setApplyWebRequestInterceptorsToRenderPhaseOnly (for Spring).

(see http://www.fatvat.co.uk/2011/05/method-names-in-java-develop...) for more details.



If you don't like long method names, stay away from Cocoa.

  -willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
  -gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:
  -initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: