News for hackers. Stuff that matters.
Re:Shell Scripting with Objective-C by ant_sz on Sunday June 01, 2014 @01:23AM (#7828253)
The objective-c with ARC support really enjoys some advantages script programing languages enjoy. Apple added many syntax sugar such as `@[]` to build array and `@{}` to build dictionary, which makes it easy to write.

So I am not surprised someone is trying to use it as a so-called shell script. The cocoa frameworks really contains a lot of convenient API (ex. when it comes to python, you have to install PIL or something else to process images). But on the other hand the objective-c shell scripting can not be used on platform other than OSX. That is a disadvantage.

Re:Shell Scripting with Objective-C by jicea on Sunday June 01, 2014 @02:18AM (#7828333)
Hi author here!

It was more a play experiment than a true try to replace Python/Ruby/Go scripting. I was very intrigued by "Objective-C Minimalism" http://bou.io/ObjectiveC-Minimalism.html and wanted to see what would be scripting in Objective-C with all new features (Objects literals, ARC etc...)

Re:Shell Scripting with Objective-C by mpweiher on Sunday June 01, 2014 @09:15AM (#7829039)
Quick correction: the object literal syntax is independent of ARC.