Null object: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 212: | Line 212: | ||
=={{header|J}}== |
=={{header|J}}== |
||
J doesn't have NULL. To indicate "missing data", "normal" data is usually pressed into service (e.g. <tt>0</tt> or <tt>_1</tt> in a numeric context, <tt>' '</tt> in a literal context, <tt>a:</tt> in a boxed context, etc). Most frequently, missing data is represented by the empty vector <tt>''</tt>. |
J doesn't have NULL. To indicate "missing data", "normal" data is usually pressed into service (e.g. <tt>0</tt> or <tt>_1</tt> in a numeric context, <tt>' '</tt> in a literal context, <tt>a:</tt> in a boxed context, etc). Most frequently, missing data is represented by the empty vector <tt><nowiki>''</nowiki></tt>. |
||
However, undefined names in J can be identified: |
However, undefined names in J can be identified: |