News for hackers. Stuff that matters.
Re:Better C – A subset of D Programming Language by WalterBright on Tuesday April 28, 2020 @06:44AM (#23005645)
It's helpful to bring up issues you are encountering in the D forums. This is the first I've heard of this particular one.
Re:Better C – A subset of D Programming Language by bachmeier on Tuesday April 28, 2020 @08:02AM (#23006162)
It's been raised many times before. By me and numerous others. The standard library is generic, which isn't the end of the world, but you can't tell from the documentation how you can work with the output. It's common for someone to ask a question and be told "add .array to the output". They'd never know that after reading the documentation.
Re:Better C – A subset of D Programming Language by WalterBright on Tuesday April 28, 2020 @03:49PM (#23011039)
Reading the example code in the documentation is very helpful with this.
Re:Better C – A subset of D Programming Language by aldacron on Tuesday April 28, 2020 @11:01PM (#23014826)
And the "Returns:" section!
Re:Better C – A subset of D Programming Language by anaphor on Tuesday April 28, 2020 @09:43AM (#23006855)
I had this issue last year when I started learning D. I eventually got used to it, but it was a stumbling block at first. The #d IRC channel helped me out.