Re: GObject's property with _ issue
Torben Nehmer <[email protected]> Mon, 20 Feb 2006 15:43:13 +0100
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, - --Eero af Heurlin wrote on 2006-02-20 15:29: >>>>With 1 we should define CamelCase as the preferred property naming >>>>convention. This is a bit awkward as it interferes with the GObject >>>>naming convention. >>> >>>I would go a step further, limiting schema field names to [a-z][a-z0-9]*. Not >>>all client languages (namely PHP) are case-sensitive when it comes down to >>>variable names. >> >> >> +1 from me , even for classes names. >> > > -1 for extending to class names, it makes them simply unreadable. One question: why can we use underscores in class names, but not in properties? Sounds strange. Jukka, I didn't fully understood how you would do that name mapping, but it at least *sounded* good for me. Live long and Prosper! Torben Nehmer - -- Torben Nehmer, Guenzburg, Bavaria, Germany http://www.nathan-syntronics.de, mailto:[email protected] PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD+dWBJPh4Kn6d5FYRAnuUAJ0TEdMV0jWl5Ks1KYDewYYWPO4sRQCg7Dv2 NZ+RbX+pjTcHWL2cTNuKNGY= =RsCZ -----END PGP SIGNATURE-----