Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Null pointers are the billion dollar mistake

Name: Anonymous 2017-02-02 10:34

@davetchepak "What can C# do that F# cannot?"
NullReferenceException :-)

Educating the imperative gorillas about sum types:

https://chadaustin.me/2015/07/sum-types/

Name: Anonymous 2017-02-02 20:40

Pattern matching makes deconstruction of values syntactically and structurally intrinsically tied to their construction. To deconstruct something, you describe how it was constructed. Simultaneous addition of bindings where you want em (and _ where you don't care) just adds concision to beauty.
Add to that the fact you can never forget to check the tag as in C, and sum types are the biggest win since sliced bread. Only vacuously skulled imperative simians couldn't understand that and cling to their ugly, prehistoric nested ifs and
``accessor'' functions.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List