On Sunday, 30 September 2012 at 18:58:11 UTC, Paulo Pinto wrote:
+1

We don't need to preserve C's design errors regarding strings and vectors.

The problem is that, unsurprisingly, most C APIs (not just libc, but also most C libraries and OS APIs) use zero-terminated strings. The philosophy of ignoring the existence of C strings throughout all of D makes working with such APIs needlessly verbose (and sometimes annoying, as D code will compile and produce unexpected results).

Reply via email to