Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 13, 2008, 05:01 PM   #1
mamcx
macrumors regular
 
Join Date: Mar 2008
How feasible use python instead of objective-c

I have 10+ years of programing experience and know well enough python, .net, javascript, delphi, foxpro, xml and sql dialects of sql server, firebird & others...

I plan develop on the iphone. I have no big problems unserstanding the syntax of objective-c, at least is not c++! - but always hate the c-derivate languages.

The experience tell me that anything that you can do in a c-derivate language can you do in a language with better syntax, using only a hand and being blind while a couple of terrorist attact on you.

Anyway....

I see at pyObjc and know exist a port to iphone. I wonder if is a good idea try with this instead of go directly to Obj-c.

I build bussines/db oriented apps, no math or graphic intensive.

My worry is the license about not use a scripting language, but maybe is only for downloading of code and not embeb it with not changes at runtime??

Also, I can expect problems in debugging or deployment? I alwasy love delphi because is the only tool with no deployment nigthmares... so I learn that for a consumer app the easy of deployment is a king. I not mind have a complicated setup procedure if is transparent to the end-user, but I live by the mantra of find dependencies and eliminate them when possible.

If is not a good idea, at least is not java!
mamcx is offline   0 Reply With Quote
Old Mar 13, 2008, 09:14 PM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
I think you're better off just learning Objective-C directly. It will make everything so much easier in the long run I imagine.
kainjow is offline   0 Reply With Quote
Old Mar 14, 2008, 05:30 AM   #3
pigoz
macrumors member
 
Join Date: Aug 2007
Location: Milan, Italy
Send a message via MSN to pigoz
Python-Cocoa helped me to undestand a lot about the Cocoa mechanisms. When I started to be serious about Cocoa, I switched to Objective-C 2. That is very powerful, I actually write less code with it than with Python.

Properties synthetization has a big impact on the amount of the code you have to write, and the synthax in general is cleaner (wrapped-method invocation tends to be a mess in python).
__________________
Aluminium iMac 20" 2.4Ghz C2D
pigoz is offline   0 Reply With Quote
Old Mar 14, 2008, 11:49 AM   #4
ChrisA
macrumors G4
 
Join Date: Jan 2006
Location: Redondo Beach, California
Quote:
Originally Posted by mamcx View Post
I have 10+ years of programing experience and know well enough python, .net, javascript, delphi, foxpro, xml and sql dialects of sql server, firebird & others...

I plan develop on the iphone. I have no big problems unserstanding the syntax of objective-c, at least is not c++! - but always hate the c-derivate languages.

The experience tell me that anything that you can do in a c-derivate language can you do in a language with better syntax, using only a hand and being blind while a couple of terrorist attact on you.

Anyway....

I see at pyObjc and know exist a port to iphone. I wonder if is a good idea try with this instead of go directly to Obj-c.

I build bussines/db oriented apps, no math or graphic intensive.

My worry is the license about not use a scripting language, but maybe is only for downloading of code and not embeb it with not changes at runtime??

Also, I can expect problems in debugging or deployment? I alwasy love delphi because is the only tool with no deployment nigthmares... so I learn that for a consumer app the easy of deployment is a king. I not mind have a complicated setup procedure if is transparent to the end-user, but I live by the mantra of find dependencies and eliminate them when possible.

If is not a good idea, at least is not java!
First off deployment is not an issue. You send your binary to Apple and they handle everything.

I think you are right that if you included the interpeter inside the binary and the Python code to be interpeted is also inside the binary and there was no way for an end user to load more code then maybe you will be OK with Apple. But then how big is your binary if it has to include Phython. Also remember this phone has a very low end CPU. I think phones always will because a slow processor will always use less battery power. Fromthe users's point of view they are going to want a native (not interpeted) app. It will be smaler and faster
ChrisA is offline   0 Reply With Quote
Old Mar 14, 2008, 03:29 PM   #5
mamcx
Thread Starter
macrumors regular
 
Join Date: Mar 2008
Quote:
Originally Posted by pigoz View Post
Properties synthetization has a big impact on the amount of the code you have to write, and the synthax in general is cleaner (wrapped-method invocation tends to be a mess in python).
You have a example of that? To me is very difficult to see how can a C code be more compact than a python one...
mamcx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Is it feasible to put a 128gb chip in a Nano? Errk! iPod 4 Jan 17, 2013 11:02 PM
iPad: iPad 2 still feasible in 2012 ? Squezze some more years out? narutoninjakid iPad 22 Dec 7, 2012 12:04 AM
SMS apps . Is it feasible to do? spilakalb iPhone/iPad Programming 5 Oct 11, 2012 09:02 AM
Feasible to store photo library on iPad? KettyKrueger iPad 11 Jun 15, 2012 02:15 PM

Forum Jump

All times are GMT -5. The time now is 08:35 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC