I have recently started learning the D programming language. I have heard about it for a while but had never attempted to try it.
It was a pretty good experience, but I have 2 major issues. The first one is with the null pointer exception handling. There is none in D. If there is the application will just terminate with a segmentation fault. This I consider is a very serious issue. Null pointer exception is a fact of life in software applications. We are talking about millions of lines of code and not every programmer would check for it before calling an instance method. Java handles it as an exception which means it can be caught gracefully. Imagine you have a server application that serves hundreds of users. You don't want the whole application to segfault if there is a null pointer exception.
The second issue I have is with on-line documentation. Other than the almost useless Hello World examples I can't seem to find better ones. There are books, but in my humble opinion there should be free (gratis) information, especially if this is relatively a new subject. I do buy books because I realise I need to support the IT industry (and also because books are tax-deductible). But I am not open to buy books about a subject that is not yet well known.
Saturday, October 24, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment