ezrosent / allocators-rs

Allocators in Rust
Apache License 2.0
304 stars 27 forks source link

Shorten type names? #21

Open joshlf opened 7 years ago

joshlf commented 7 years ago

RFC 356 specifies that names without prefixes should be preferred over names with prefixes - e.g., io::Error over io::IoError.

Currently, we use the latter naming convention - e.g., slab::SlabAlloc, slab::UntypedSlabAlloc, etc. We should abide by the proper, officially-accepted naming convention.

Open questions:

ras-drive commented 2 years ago

I personally think you should keep the original names, if I'm importing an object to pass to as an argument, like you probably would with an allocator, I'd rather it's descriptive then perfectly follows naming conventions.