Linked by Owen Anderson on Mon 19th Apr 2004 05:43 UTC
General Development For years the development scene has been dominated by the C family of languages, primarily C itself and its immediate successor C++. Recent years have given rise to other C-descendents, however, such as Sun's Java and Microsoft's C#.
Permalink for comment
To read all comments associated with this story, please click here.
RE: Null Pointers
by J.F. on Wed 21st Apr 2004 21:23 UTC

An empty string is NOT nothing, it is something, namely a string, just as the string "a" is a string. This is not something that can be negotiated

It COULD be nothing and CAN be negotiated. You're just being pig-headed and opinionated. Try thinking outside the box for a change.

Will you stop talking about irrelevant implementation details when I'm trying to discuss the language! Or is the point you're trying to get across that you know that it's wrong that ""==null, but that it is faster and therefore justified?

It's not irrelevant. Any language worth using must consider the implementation at some level or it will fall behind ones that do. Besides, this is a brand new language and can be changed however the folks setting the standards feel like. It's not ANSI C. If they want to make ""=null, that's their right. I was pointing out the fact that it can make nearly any implementation of the langauge better.

You're arguing that because C defines a string one way that no other definition in any other language is acceptable. You're wrong. It's that simple.