From: Chad Perrin Date: 2011-04-15T04:19:53+09:00 Subject: Re: Using underscors or camel case for variables and functions (def) --H8ygTp4AXg6deix2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2011 at 03:11:48AM +0900, Fily Salas wrote: > I thought you couldn't use camel words in Ruby instead you should use > underscores but I just tried it and it works. *Should* is the operative word -- not *must*. >=20 > Is this valid in Ruby or it works but is not semantically correct? It works fine. It's just harder to read at a glance than with underscores for most contexts with method and variable names. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --H8ygTp4AXg6deix2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2nRcQACgkQ9mn/Pj01uKVKuQCeJgxq+xqpo6B856Nrb8iQUdOi A5oAoJTgpVBAy1wh8Pq+XsIvtsOT+VSz =R3Tv -----END PGP SIGNATURE----- --H8ygTp4AXg6deix2--