Error!
Success!

Convert Long-List-Argument Functions to DSLs by Interfaces

0
kicks

Convert Long-List-Argument Functions to DSLs by Interfaces  (Unpublished)

This is a little DSL for sending emails in C#. I had a function with many arguments that I should have take care of them. And the code was ugly in C#; a function name with a long list of values after it. In F# it is very nicer since we can use argument names for assigning values to arguments by using option type...


Kicked By:
Drop Kicked By: