FROM : I. Savant
DATE : Fri Jun 02 22:38:17 2006
As a point of order, you most certainly *should* get into the
habit of naming things according to the "Cocoa way" so that it is
easy to support KVC/KVO. Sure, you can use camel notation only when
needed for KVC/KVO, but you have to know the rules well and if you're
going to develop Cocoa applications, it's best to follow conventions
so you don't break convention-dependent mechanisms such as KVC/KVO.
I see no harm whatsoever in volunteering that information along
with the rest of the discussion, especially when the OP identifies as
a newbie and looks to be fairly misguided. There's no need at all to
be adversarial on this point - this kind of guidance is quite helpful
to a newbie and is exactly what helped me get started on a lot of
languages.
Just my humble Idiot Opinion ... ;-)
--
I.S.
On Jun 2, 2006, at 4:32 PM, Lon Giese wrote:
> Well I'm glad we agree on one point but the C Pocket Reference only
> gives 4 restrictions on naming identifiers, I think you know what
> they are. Other than that the naming guidelines are just
> guidelines. There is no should about it.
>
> And he wasn't asking anyone how to name his identifiers.
DATE : Fri Jun 02 22:38:17 2006
As a point of order, you most certainly *should* get into the
habit of naming things according to the "Cocoa way" so that it is
easy to support KVC/KVO. Sure, you can use camel notation only when
needed for KVC/KVO, but you have to know the rules well and if you're
going to develop Cocoa applications, it's best to follow conventions
so you don't break convention-dependent mechanisms such as KVC/KVO.
I see no harm whatsoever in volunteering that information along
with the rest of the discussion, especially when the OP identifies as
a newbie and looks to be fairly misguided. There's no need at all to
be adversarial on this point - this kind of guidance is quite helpful
to a newbie and is exactly what helped me get started on a lot of
languages.
Just my humble Idiot Opinion ... ;-)
--
I.S.
On Jun 2, 2006, at 4:32 PM, Lon Giese wrote:
> Well I'm glad we agree on one point but the C Pocket Reference only
> gives 4 restrictions on naming identifiers, I think you know what
> they are. Other than that the naming guidelines are just
> guidelines. There is no should about it.
>
> And he wasn't asking anyone how to name his identifiers.
| Related mails | Author | Date |
|---|---|---|
| Graham | Jun 1, 22:39 | |
| Andrei Tchijov | Jun 1, 23:50 | |
| Shawn Erickson | Jun 2, 00:11 | |
| Mike Abdullah | Jun 2, 00:12 | |
| Joshua Pennington | Jun 2, 00:35 | |
| Graham | Jun 2, 12:02 | |
| Lon Giese | Jun 2, 13:41 | |
| Nir Soffer | Jun 2, 14:19 | |
| Jerrod Fowkes | Jun 2, 14:51 | |
| Michael Ash | Jun 2, 17:42 | |
| Lon Giese | Jun 2, 19:28 | |
| glenn andreas | Jun 2, 20:22 | |
| Lon Giese | Jun 2, 22:32 | |
| I. Savant | Jun 2, 22:38 |






Cocoa mail archive

