GetFreaky Posted January 8, 2014 Share Posted January 8, 2014 If anyone has worked with Objective C, especially with Apple's Cocoa framework, then you will understand @interface myCustomController : NSObject @end @implementation myCustomController @end or objects/functions UITabBarController * tabController = [[UITabBarController] alloc]; [objectReceiver objectMessage:param1:param2]; Is it just me or is Obj-C actually beautifully written, I see alot of people complaining on the syntax and it looking messy. I do understand the frustration at first trying to figure out at the square brackets... Personally I think the syntax for invoking class methods/instance methods, interface/implementation, delegate, structs...etc is better than c++. what is your thoughts? Quote Link to comment https://forums.phpfreaks.com/topic/285189-objective-c-is-beautiful-or-nay/ Share on other sites More sharing options...
GetFreaky Posted January 8, 2014 Author Share Posted January 8, 2014 I ment [[UITabBarController alloc] init] Quote Link to comment https://forums.phpfreaks.com/topic/285189-objective-c-is-beautiful-or-nay/#findComment-1464375 Share on other sites More sharing options...
ignace Posted January 8, 2014 Share Posted January 8, 2014 (edited) It's ugly. It's like Java trying to be Lisp and Python. A high-level programming language should reduce the amount of typing required to do a job, not increase it. Otherwise we can all start programming Assembler again. Edited January 8, 2014 by ignace Quote Link to comment https://forums.phpfreaks.com/topic/285189-objective-c-is-beautiful-or-nay/#findComment-1464410 Share on other sites More sharing options...
GetFreaky Posted January 8, 2014 Author Share Posted January 8, 2014 (edited) It's ugly. It's like Java trying to be Lisp and Python. A high-level programming language should reduce the amount of typing required to do a job, not increase it. Otherwise we can all start programming Assembler again. Well Object-C provides sort of both ends don't you agree? it has those low-level functionalities, not the same as Assembler I agree, and it has embbed high-level concepts, I think it plays well with both. Edited January 8, 2014 by GetFreaky Quote Link to comment https://forums.phpfreaks.com/topic/285189-objective-c-is-beautiful-or-nay/#findComment-1464427 Share on other sites More sharing options...
Garethp Posted January 8, 2014 Share Posted January 8, 2014 Maybe I'm just too used to high-level languages, or maybe I don't know enough languages (For example, I don't know C. Need to get around to fixing that), but I tried my hand at learning Objective C once, and it just seemed like an over-convoluted language that went out of it's way to be different, not for the sake of improvement, but just for the sake of being different. But then again, maybe I'm inexperienced and maybe I'm just biased against Apple... Quote Link to comment https://forums.phpfreaks.com/topic/285189-objective-c-is-beautiful-or-nay/#findComment-1464458 Share on other sites More sharing options...
KevinM1 Posted January 8, 2014 Share Posted January 8, 2014 Beautiful would probably be something like ruby or python. I'm a big fan of C#, as aside from Microsoft's penchant for long ass names, it's an incredibly readable C dialect (it's also a nicer language than Java on the whole, but that's another issue). C# only gets funky when you start dealing with parameterized types, and it's not really any more difficult than figuring out pointers in C/C++. Quote Link to comment https://forums.phpfreaks.com/topic/285189-objective-c-is-beautiful-or-nay/#findComment-1464468 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.