3 ms·
> The best solution is obviously to use a functional language like f# where you can't have null pointers. You absolutely can: Microsoft (R) F# Interactive
by lacampbell 10y ago
> The best solution is obviously to use a functional language like f# where you can't have null pointers.
You absolutely can:
Microsoft (R) F# Interactive version 14.0.23413.0
Copyright (c) Microsoft Corporation. All Rights Reserved.
For help type #help;;
> let s:string = null ;;
val s : string = null
- tigershark 10y agoString is a .net type, f# types cannot reference null unless you explicitly add some attribute if I recall correctly.