News for hackers. Stuff that matters.
Re:Bringing Objective-C to the Amiga by Apocryphon on Sunday April 22, 2018 @10:26PM (#16900072)
Personally I prefer the brackets of ObjC to the colon overload of C++
Re:Bringing Objective-C to the Amiga by saagarjha on Monday April 23, 2018 @12:41AM (#16900564)
> the colon overload of C++

There's a lot of colons here too:

  - (id)outputImageProviderFromBufferWithPixelFormat:(NSString *)format 
                                          pixelsWide:(NSUInteger)width 
                                          pixelsHigh:(NSUInteger)height 
                                         baseAddress:(const void *)baseAddress 
                                         bytesPerRow:(NSUInteger)rowBytes 
                                     releaseCallback:(QCPlugInBufferReleaseCallback)callback 
                                      releaseContext:(void *)context 
                                          colorSpace:(CGColorSpaceRef)colorSpace 
                                    shouldColorMatch:(BOOL)colorMatch;
Re:Bringing Objective-C to the Amiga by iainmerrick on Monday April 23, 2018 @04:06AM (#16901433)
In other languages, a function with that many parameters would be close to unusable. Far too easy to get them mixed up. The way Obj-C forces you to name each argument is great.
Re:Bringing Objective-C to the Amiga by saagarjha on Monday April 23, 2018 @04:20AM (#16901499)
Yeah, I'm not complaining, I really do like argument labels. Objective-C sometimes does go overboard with sentence-like labels, but usually it's not an issue.
Re:Bringing Objective-C to the Amiga by Apocryphon on Monday April 23, 2018 @02:10AM (#16900893)
Yes, but they don't come in pairs and are neatly spaced away from each other.
Re:Bringing Objective-C to the Amiga by saagarjha on Monday April 23, 2018 @04:20AM (#16901501)
This was mainly meant as a joke :)