naming convetions

Write your ideas what you would like to have in Objective-Basic

naming convetions

Postby udo.killermann » Sun Sep 19, 2010 5:33 pm

Bernd,

in my opinion the naming conventions you chose for Obj-B collide with Cocoa's conventions. Cocoa uses lowercase camel notation, so that messages (e.g. + (id)data ) and attributes start with a lowercase character. Obj-B on the other hand uses uppercase camel notation (e.g. Contains for arrays). The collision occurs as soon as I start declaring plain Cocoa messages to be used as functions or subs within my code. I can extend the functions of the built-in Obj-B array class by declaring the messages provided by NSMutabeArray. But now I have lowercase and uppercase camel notation for the same concept.

I don't know how big the overhaul would be to switch Obj-B to lowercase camel notation as well.

Kind regards
Udo
--------------
MacBook (2GHz, 4 GByte) - Lion (10.7.3)
started Objective Basic coding in April 2010 - still enjoy it ;-)
udo.killermann
 
Posts: 247
Joined: Thu Apr 08, 2010 6:46 am
Location: Hannover, Germany

Re: naming convetions

Postby berndnoetscher » Mon Sep 20, 2010 8:22 am

Well, I did it this way to have the possibility to see the if a function is a objb or objc function. Maybe you can convience me to change it ;-)?

What about one of your good examples, Udo? Thanks in advance.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am


Return to Wish List (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests

cron