From: "Darryl L. Pierce" Date: 2013-07-30T00:35:15+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? --65ImJOski3p8EhYV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 29, 2013 at 11:55:05PM +0900, Admin Tensor wrote: > Darryl Pierce wrote in post #1117018: > > On Mon, Jul 29, 2013 at 03:39:02PM +0900, Juha K. wrote: > >> Why not go coffeescript style and create a preprocessor gem that > >> compiles indent-aware ruby into ruby? Shouldn't be too big effort. > > > > To what advantage? >=20 > Well, the most obvious are less typing and very compact code.=20 How does additional indentation rather than using braces make for less typing or more compact code? It would seem to me to be the opposite, using spaces to define a code block makes for longer source files. I'm talking about the code that *I* write, as opposed to the code that's generated by some code processor. > We can > also think about Groovy and Java, and to different extent, Dart and > JavaScript. Can you explain this part to me, please?=20 --=20 Darryl L. Pierce http://mcpierce.fedorapeople.org/ "What do you care what people think, Mr. Feynman?" --65ImJOski3p8EhYV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iEYEARECAAYFAlH2i68ACgkQtddqM0QFuLLJCwCg4614GouyqI+r+kfmx7445U5B TpwAoIPJPtG2cRtVmYMG5uTcJmGJ1R69 =uHbJ -----END PGP SIGNATURE----- --65ImJOski3p8EhYV--