3 ms·
> I always joke String should have been called StrBuf Agreed, and Vec should just be Buf! Let's fork the language. :)
by kibwen 10y ago
> I always joke String should have been called StrBuf
Agreed, and Vec should just be Buf! Let's fork the language. :)
- iopq 10y agoAnd it should be white-space sensitive! 1. Writing a tab character introduces the equivalent of {} for blocks, but not other uses of {}. 2. You can still use {} for blocks if need be 3. Everyone uses elastic tabstops in their editor oh yeah, and parens are optional for function application
- cpeterso 10y agoWhy not rename Vec to Buf everywhere with a Vec = Buf type alias for backwards compatibility?