News for hackers. Stuff that matters.
Re:In praise of Objective C by chimeracoder on Saturday April 14, 2012 @03:27PM (#3841755)
Technically not true, but in practical terms, it is, because you can't do anything useful in Objective-C on Linux (like write iOS applications, which is the biggest reason people want to use Objective-C these days[1])

And it's true in the context of this post, because the author is conflating Objective-C and Cocoa throughout the entire post, so he's correct in saying that 'Objective-C [with Cocoa] is only available on Apple platforms'.

[1] https://bbs.archlinux.org/viewtopic.php?id=111490

Re:In praise of Objective C by DHowett on Saturday April 14, 2012 @06:14PM (#3842131)
You certainly can compile iOS apps, with full access to Objective-C and Cocoa, on Linux. The platform does not make a lick of difference when you bring a cross-compiler into the mix.

That is somewhat like saying that OS X being written in Objective-C somehow makes it possible/easier to write iPhone apps (which again, are not at all tied to the runtime or architecture of the host compiler's system).

Re:In praise of Objective C by slantyyz on Saturday April 14, 2012 @04:37PM (#3841922)
>>but in practical terms, it is, because you can't do anything useful in Objective-C on Linux (like write iOS applications, which is the biggest reason people want to use Objective-C these days[1])

But let me give you a simple and plausible scenario where running Obj-C on Linux might be worthwhile.

Let's for argument's sake, say I'm an indie Windows developer who wants to do iOS development but has heard the most common complaint about Objective-C -- "the weird syntax".

Before I run out and blow my wad a Mac, I can set up a Linux VM with Obj-C to just play with the language at an abstract and academic level and see if I can even wrap my head around the language first.

If I were to trust the OP's sentence at face value, I wouldn't really know that was possible.

Re:In praise of Objective C by batista on Saturday April 14, 2012 @03:41PM (#3841793)
>And it's true in the context of this post, because the author is conflating Objective-C and Cocoa throughout the entire post

He also mentions GnuStep specifically in the post, and says that it's far from ready to use.

Re:In praise of Objective C by chimeracoder on Saturday April 14, 2012 @03:57PM (#3841839)
Well, as noted by the top comment in this thread, many of the benefits of Objective-C that he's talking about are really attributable to Cocoa, not the Objective-C language itself.

My main point is that, even if the quoted statement in the parent post to my original comment was technically false, the idea was essentially true. The biggest reason for using Objective-C at this point is for a type of project that can only be done on Apple's hardware and OS, not on Linux.