News for hackers. Stuff that matters.
Re:iOS is anti-Unix and anti-programmer by natch on Friday September 16, 2011 @05:50AM (#3003831)
I love composability as much as the author, but his opinion is, to put it kindly, not well informed. iOS has a myriad of mechanisms for sharing content within and between apps, bot from the same developer and from different developers, with and without prior agreement, and for composing workflows and experiences that are greater than the sum of the parts.

Some of these mechanisms are new, and the possibilities have not yet been fully plumbed. Some have been around for a while.

But iOS is just getting started. People said the iPad was a "read-only" or "consumption-only" device, but, over time, we have seen tools come out that are great authoring tools for various types of content. The same thing will happen (and already has happened, but is growing over time) with cross-app workflows.

As far as the title, "anti-Unix and anti-programmer," taking the first part, well yes it doesn't provide a built in command line for programmers, if that's what he means, although it does happen to be built on UNIX, and it benefits from the maturity of UNIX (and gives back, with OSS tools like LLVM).

On the second part, the tools it does provide for programmers are truly wonderful - the Objective-C language, the frameworks, an amazing compiler with static analysis (if you don't know what this gives you, the answer is pure joy), the development environment (though Xcode 4 had a rocky rollout, it has proven itself to be a sweet update), the patterns that are used and encouraged, and the architectural choices, are all very well thought out.

Programmers coming from other mobile platforms have told me that they left behind a lot of pain, and found a lot of power on iOS.

"Anti-programmer" is a very odd way to describe a platform that makes programmers who get into it happy with their coding experience, makes them money, and gives users a great experience while keeping their private information secure from abuses by ill-intentioned programmers.

I can't help but be baffled by where he is coming from. I love UNIX, the command line, and composing commands, but then I love cooking in the kitchen too. Different environments come with different tools.

If we want to compare just mobile development environments, iOS is one that has clearly been developed with a careful deliberative process intended to preserve good battery life, protect user data, and avoid painting itself into any architectural corners. There are constraints. There always are.

But iOS is growing, with very exciting (for programmers) features with every update, including deep stuff that goes down to the core architectural level of how your data flows in your program, in ways that promise a very, very happy life for iOS programmers on multiple core devices. The future is very bright for iOS programming.

The "anti-freedom" charges, the locking out of certain features, you get the same stuff on any platform. Just try to publish an app that abuses the Android logo in any Android market. Not that you would want to, but then, I wouldn't want to publish an app that steals user data, and that's exactly the kind of thing iOS does not give me the "freedom" to do... and that's a good thing. All the mechanisms for preventing abuse could have been done in a much more heavy-handed way, such as by being tied to a central email account that you use to authenticate to dozens of critical services you depend on in your life, that can be yanked and shut down at any time, with a very tenuous appeal process. As developers we are lucky to have a platform that has done things in such sensible ways.

Re:iOS is anti-Unix and anti-programmer by BoppreH on Friday September 16, 2011 @08:20AM (#3004140)
You are missing the point. What the author wants is a composable toolbox. He knows it's possible, he can wield them proficiently, and the gains are numerous, but the system doesn't give him the means to do that.

You can't pipe iPad apps. You can't filter emails from a file using a single line of Objective-C. Development environments don't have the practicality of typing text in a shell for instant execution.

If I understood correctly, "anti-programmer" means the environment doesn't make use of his abstraction abilities, not that it is bad for developing software.

And hell yes, I would compose kitchen appliances if I could.

Re:iOS is anti-Unix and anti-programmer by _pius on Friday September 16, 2011 @10:28AM (#3004534)
You can't pipe iPad apps.

Yes you can, through custom URL schemes.

http://handleopenurl.com/

Re:iOS is anti-Unix and anti-programmer by lurker19 on Friday September 16, 2011 @11:00AM (#3004682)
That's not part of ios, that is a library. I can't add that to someone else's app on the device. Apple should integrate it into iOS.

The user of the device should be able to compose apps, not only cooperating app writers.

Re:iOS is anti-Unix and anti-programmer by natch on Friday September 16, 2011 @12:05PM (#3005002)
You could not be more wrong. Not only is it part of iOS, it is part of UIApplication, the class on which any iOS app is built. Why even bother commenting, if you're just going to make stuff up?

I'm guessing you didn't even click on the web link, which, you will notice if you do, does not lead to any library. It's just a site (which I've never visited before this myself either... don't need to, to write or use inter-app URL launches) that hosts an informal registry of protocols along with information on what they launch.

Re:iOS is anti-Unix and anti-programmer by ajross on Friday September 16, 2011 @11:39AM (#3004873)
Getting kind of far afield, but that's exactly what the Android "Intent" framework is: any app can register handlers for any data/url. So your app now appears next to "youtube" when the user selects "share" on a video, etc...
Re:iOS is anti-Unix and anti-programmer by jcizzle on Friday September 16, 2011 @12:03PM (#3004989)
It is part of iOS and has been since iOS 2.0. Every application developer gets to pick their own URL scheme and what any arguments passed to it do. This web site is just showing you the URL schemes for various applications.
Re:iOS is anti-Unix and anti-programmer by tjogin on Saturday September 17, 2011 @10:42AM (#3008116)
The author wants to cool food and is disappointed with his toaster for doing a lousy job at it.
Re:iOS is anti-Unix and anti-programmer by vacri on Friday September 16, 2011 @06:33AM (#3003925)
The "anti-freedom" charges, the locking out of certain features, you get the same stuff on any platform. Just try to publish an app that abuses the Android logo in any Android market.

Really? "Android isn't free because you can't 'abuse' the brand's logo"? That's the best counter-example you could come up with?

Re:iOS is anti-Unix and anti-programmer by zwaldowski on Friday September 16, 2011 @04:36PM (#3006205)
You mean besides the fact that you can't call your build of Android, Android without Google's permission? The fact that Google still hasn't released the sources to a 7-month-old "open source" OS? Yeah, Android is totally "open."
Re:iOS is anti-Unix and anti-programmer by vacri on Friday September 16, 2011 @09:48PM (#3006975)
Would you like to have another try?

From what I glean from your comment, you equate Google's protection of it's name and the fact that one version of the OS hasn't been open-sourced to the iron-fisted grip of Apple and their control.

(by the way, if you want android source, here you go, courtesy of the folk who "don't open source their OS" http://source.android.com/source/downloading.html )

Control of branding is a stupid argument to base "is this free" on. Hell, even Debian, the freeest operating system ever, amicably forked firefox to iceweasel - the only difference being the name and artwork. Firefox is totally free for you to do anything with at all... except for the branding. It's to protect themselves from someone turning it into malware and distributing it under the official name. Branding is a stupid thing to claim as the be-all and end-all of whether something is 'free'.

Hell, even the BSD license that allows you to do anything with the code, sell it, free it up, throw it against the wall, even this extremely free licenses has branding requirements - Neither the name of the <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission..

And even then, Android does allow you to modify the logo. You can have the logo in a police uniform (see android police) or on a skateboard (see cyanogenmod). You just can't put a derogatory version on the android market. How very onerous - clearly those are stifling conditions for developers to work under!

Compare to Apple who won't even give permission to use the word 'free' with their products (as in, they won't help you if you run a competition to win a 'free' ipad).

As for "yeah, totally open" - it seems to me that there's a ton of people modding android code because they can, but on the Apple side of things, where is the opened source... at all?

Why have you set a much, much higher bar for openness for one product but not the other?

Re:iOS is anti-Unix and anti-programmer by aninteger on Friday September 16, 2011 @10:19AM (#3004504)
iOS does not provide tools for programmers. At least not an Objective-C compiler. I don't think any modern OS comes with a built in C compiler though. Apple has provided these things for iOS
Re:iOS is anti-Unix and anti-programmer by leviathant on Friday September 16, 2011 @11:52AM (#3004945)
IIRC, if you have the .NET Framework on a Windows computer, you've got a command-line C# compiler, csc.exe, usually located in in C:\Windows\Microsoft.NET\Framework\vWhatever
Re:iOS is anti-Unix and anti-programmer by drcube on Friday September 16, 2011 @11:12AM (#3004745)
GNU gcc? Or did you mean to say "mobile" when you wrote "modern"?