Sunday, August 09, 2009

D as a Learning Language?

I was having a thought recently that the D Programming Language may be a good choice as a learning language. No, not as an intro language, but one where you can teach advanced data structures and good programming practices. The second is the key part since D does have things built into the language, such as unit testing, documentation generation, and design by contract, that it can be a one stop shop for professors who want to introduce their students to these practices. That is, of course, assuming that these concepts are taught as a collegiate level. I know in my experience, they weren't, but I'm not 100% certain that they were as popular back then as they are now.

My two favorite practices are the combination of unit testing and code coverage so that you can test your code and get an idea of how well you're testing it, and the documentation generation as now a student can see how their code comments can become useful documentation without much additional effort.

Labels: , ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home