0
comment
comment
on 10/14/2015 7:34 AM
While reviewing the bugs that I've written in F# over the course of my most recent project I've found that the only recurring bug I had was passing arguments of the same type in the wrong order.
Basic Example
Here's a contrived and simple example of what I mean.
let assignUserToCustomer userId customerId =
use command = new DbCommand()
command.Execute(userId, customerId)
Some()
assignUserToCustomer customerId userId
In this case userId and customerId are both ints so the fact that I'v[...]