3 ms·
`Executors.newVirtualThreadPerTaskExecutor()`. Java verbosity is alive and well.
by cutler 4y ago
`Executors.newVirtualThreadPerTaskExecutor()`.
Java verbosity is alive and well.
- wiseowise 4y agoHow would you call it?
- kaba0 4y agoYeah, some C-style would be so preferred: e_nvtpte() /s
- mahmoudimus 4y agoYeah that part is not great. OTOH, I know exactly what it does :)
- thom 4y agoAny other naming here would be worse.
- deleted 4y ago[deleted]
- i386 4y agoGod forbid we have names that explain the subject
- lenkite 4y agoSo is Apple/Swift, but Apple always gets a smile instead of a smirk here on HN. func CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications( allocator: CFAllocator?, sourceDescription: CMMetadataFormatDescription, metadataSpecifications: CFArray, formatDescriptionOut: UnsafeMutablePointer<CMMetadataFormatDescription?> ) -> OSStatus
- cutler 4y agoWow. Where did you find that specimen?
- lenkite 4y agoCore Media APIs https://developer.apple.com/documentation/coremedia/1489454-cmmetadataformatdescriptioncreat https://developer.apple.com/documentation/coremedia/1489454-...
- 2muchcoffeeman 4y agoDo they? I recall ObjC getting a lot of criticism over their long method names. But really, who cares? Who the hell types out the whole method in this day and age? Type the first few chars, up arrow, down arrow, tab. Jump around with vi bindings. I have not written a full line of code in well over a decade. Although Apple deserves it since their IDE really blows compared to say Idea.
- marginalia_nu 4y agoGiven this is something you're probably going to find at most a handful of times in an entire code base, I don't think that's necessarily bad. Java API stuff hasn't ever been a huge contributor to verbose code. Yeah I guess some of java.io's stuff isn't great, but the worst AbstractFactoryDelegateImplFacadeProviderVisitor gore was always in the application code.