-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/04/2014 05:30 PM, Simon Sapin wrote: > On 26/05/14 22:52, Patrick Walton wrote: >> (In general, I find that single-letter abbreviations read better >> when squished up next to the word they go with, without >> underscores. Just personal preference, I guess.) > > Gecko does this, but with camel case: BStart, IEnd, BEnd, IStart. > (Meaning "start side in the block direction", "end side in the > inline direction", …) > > But the Rust convention is to keep variable and field names lower > case: bstart, iend, bend, istart. It gets a bit weird, especially > with "bend" which is an English word. > > I’ll keep this for now, but suggestions are welcome.
I found those pretty unreadable, fwiw. BlockStart etc. seem like they'd be more readable, at the expense of a little more typing. HTH Ms2ger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTtx92AAoJEOXgvIL+s8n2k/YH/AsNsYnTTF/u5FEsm7OzsT8E Eq2OLJkM5pQ5fuHkNfMvDjQvL6S7wwgOpTnLFe2Afns4MtaA1XHOP7t77P1ffVJR KGD74ysgwsHB7y8xn4lZ4m0vM55G0DXAmnTRW2aFdmMibNyUQSVgQTziUgBIg2u1 MjF7X2zIvuKgnTVq3VlHgSgQGqkwjPLuPbnsXg+bnVCuky3qgh91CQfDo2wwKRYB wbCR1KrjN4rXeoSZFr8C+Db4hEhH7r81Co3pLBk4y+vlPWhcc8jKCC42vMnBOyHm JpBIG10Rgo8ONF1zqjZKUOcZY3fW9PgoQG4x5m6SGyA6oLrAgjWysFEEqSuDYdE= =fbv0 -----END PGP SIGNATURE----- _______________________________________________ dev-servo mailing list [email protected] https://lists.mozilla.org/listinfo/dev-servo

