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.

--
Simon Sapin
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to