Hi all. I actually agree with everyone on this thread. Objective C is a very good language and it is well thought out. I have to add here that I do not have that much experience in using it though. I think what also puts off some people is that there is no clear divition between function calls and their arguments. It takes a bit of effort to get used to this. Also a function call is more like a request for functionallity, sort of like a message that requests some functionality which could be acted on or ignored depending on weather the class has that function and this is decided at runtime. Using XCode was also my main deterrent to using objective C and I wasted more time trying to find ways to work faster in XCode than studying the language. Of corse Apple does not give you any alternatives.
On 6/7/13, Cara Quinn <[email protected]> wrote: > Lol! Awesome Liam! :) > > To be completely honest, when I first looked at Objective C syntax I really > didn't like it. I was used to more straight C / Java / C++ syntax so seeing > all the brackets enclosing method calls really kind of turned me off. C++ > seemed a lot more concise to me. However, after having worked in Objective C > for a while now, some of the more longhand ways methods are named really > does help in reading code after you've written it and need to revisit it > later. > > It's actually quite a bit more readable in some ways than C++ because of the > extra wording in the method naming. > > Here's an example: > > In C++ I might declare a method: > > void offsetLatitudeAndLongitude(double lat, double lng,double offset); > > I would write the same method name in Objective C as: > > -(void) offsetLatitude:(double)lat andLongitude:(double)lng > withOffset:(double)offset; > > So since it's more English-like, going back and rereading that later for me > would be a whole lot easier. :) > > So there ya go, there's my two cents for now. :) > > Have an awesome day! > > Smiles, > > Cara :) > --- > View my Online Portfolio at: > > http://www.onemodelplace.com/CaraQuinn > > Follow me on Twitter! > > https://twitter.com/ModelCara > > On Jun 7, 2013, at 12:30 PM, Liam Erven <[email protected]> wrote: > > I'm so glad I can look at that and have it not look like greek to me. > Objective C still frightens me, but... well... Gotta jump in some time > right? I think what is more frightening is Xcode itself. But take > some time to learn it first guys. then complain. > > On 6/7/13, Cara Quinn <[email protected]> wrote: >> Hey you guys, I say this with love, but if y'all would put the energy >> you're >> spending complaining about learning Objective C into actually starting to >> learn Objective C then I think you'll find that it's really not that >> hard! >> *warm smile* >> >> Just to give a really quick intro to the language; >> >> • It uses methods or blocks of code just like C, C++ and other C style >> languages. >> >> • An Objective C method definition might look like: >> >> -(void) doSomething { >> >> // Doing things here >> >> } >> >> the minus sign means that this method can be called on each object of the >> class where this method is defined. If there were a plus sign instead, >> the >> method could be called on the class itself. >> >> The void in parentheses means that the method returns or generates >> nothing. >> >> then we have the method's name and the two braces which enclose the >> actual >> code that gets executed when you call the method. >> >> • Methods in Objective C are called as in: >> >> [self doSomething]; >> >> The call is surrounded in brackets. and the self in the first part of the >> call refers to the object or class where the method is declared. Lastly, >> we >> have the method name itself and then the semicolon which ends the line >> just >> like in the C languages. >> >> Hope all this makes sense and allows you to start reading some Objective >> C >> syntax to start to tell what is happening. >> >> Smiles, >> >> Cara :) >> --- >> View my Online Portfolio at: >> >> http://www.onemodelplace.com/CaraQuinn >> >> Follow me on Twitter! >> >> https://twitter.com/ModelCara >> >> >> --- >> Gamers mailing list __ [email protected] >> If you want to leave the list, send E-mail to >> [email protected]. >> You can make changes or update your subscription via the web, at >> http://audyssey.org/mailman/listinfo/gamers_audyssey.org. >> All messages are archived and can be searched and read at >> http://www.mail-archive.com/[email protected]. >> If you have any questions or concerns regarding the management of the >> list, >> please send E-mail to [email protected]. >> > > --- > Gamers mailing list __ [email protected] > If you want to leave the list, send E-mail to > [email protected]. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/[email protected]. > If you have any questions or concerns regarding the management of the list, > please send E-mail to [email protected]. > > > --- > Gamers mailing list __ [email protected] > If you want to leave the list, send E-mail to > [email protected]. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/[email protected]. > If you have any questions or concerns regarding the management of the list, > please send E-mail to [email protected]. > --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
