Talk:Null object: Difference between revisions

Content added Content deleted
(reword at most)
(oops, misunderstood the objection)
Line 7: Line 7:
I don't know Ada, but I suspect the Ada example to be incorrect as well. --[[User:Ce|Ce]] 12:53, 5 August 2008 (UTC)
I don't know Ada, but I suspect the Ada example to be incorrect as well. --[[User:Ce|Ce]] 12:53, 5 August 2008 (UTC)


I think that insofar as this is a problem, we should fix it by rewording the task. Languages may differ on whether they have null pointers or pointers to null, but that doesn't affect the patterns of usage. --[[User:Kevin Reid|Kevin Reid]] 22:42, 5 August 2008 (UTC)
I think that insofar as this is a problem, we should fix it by changing the task, not the examples. The basic idea of null is similar enough for this collection to be informative, whether the language has everything-is-a-reference-including-null (Python), maybe-null references and primitives (Java, C), type systems which can include or exclude null (Common Lisp, E, C#), or data structures which explicitly add a case (Haskell) --[[User:Kevin Reid|Kevin Reid]] 22:42, 5 August 2008 (UTC)