Timeline for Are nullable types preferable to magic numbers?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 3, 2012 at 3:35 | comment | added | Jeremy Wall | I agree with Jon Strayer here. Null is an example of a ADT in a language that doesn't actually support ADT's. The OP can probably get away with it here but in general I consider any language that has null to have failed it's programmers slightly. | |
| Apr 2, 2012 at 14:25 | history | edited | Jon Strayer | CC BY-SA 3.0 | Expanded on "Null is evil" |
| Apr 2, 2012 at 14:13 | comment | added | Jon Strayer | Well, perhaps you have a different definition of magic number than I do. Please see en.wikipedia.org/wiki/… | |
| Mar 30, 2012 at 17:33 | comment | added | 17 of 26 | Defining an alias for a number doesn't change the fact that it's still a magic number. | |
| Mar 30, 2012 at 17:23 | history | edited | FrustratedWithFormsDesigner | CC BY-SA 3.0 | added 4 characters in body |
| Mar 30, 2012 at 17:19 | comment | added | deworde | -1: Justify "null is evil". | |
| Mar 30, 2012 at 16:35 | history | answered | Jon Strayer | CC BY-SA 3.0 |