[yast-devel] Re: [yast-commit] <web-client> master : hacks to not lose camelCased variables
* Jiri Suchomel <jsuchome@suse.cz> [Jul 17. 2009 15:53]:
+ + # FIXME hack, this must be done properly + # (my keys in camelCase were transformed to under_scored)
Actually, under_scored is Ruby convention and should be used. I already raised the question about our data model rules and attribute naming last week. Martin replied and I want to discuss it further after his return next week. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Friday 17 of July 2009 16:05:07 Klaus Kaempf wrote:
* Jiri Suchomel <jsuchome@suse.cz> [Jul 17. 2009 15:53]:
+ + # FIXME hack, this must be done properly + # (my keys in camelCase were transformed to under_scored)
Actually, under_scored is Ruby convention and should be used.
I already raised the question about our data model rules and attribute naming last week. Martin replied and I want to discuss it further after his return next week.
I understand it is a convention, on the other hand, the possibility to use the data just as they come from YaPI seems to be an advantage to me. As you can see, I wrote " hack, this must be done properly", so I do not mean it as correct solution. -- Jiri Suchomel SUSE LINUX, s.r.o. e-mail: jsuchome@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Jiří Suchomel
-
Klaus Kaempf