Am I overlooking something obvious...why mock out a pure function (or ext method in c#)? Especially one you own! Why not use the real one?
You know what to give it to get expected result!
Maybe if setup of the deps is too much effort?
If Fn is an arg, sure, send in a fake imp!
@scotthannen After Python, I had the same thought, but actually, this really isn't an issue.
The compiler means that any whitespace issues are compile time errors, not run time exceptions, and after quite a short time, you just get used to it. it's really not an issue.
#ddd folks: I've found the Blue Book quite taxing and heard talk of a smaller, less arduous Book...but can't remember the details
Anyone know what this Book is?
#lazyweb
Remember that the government has pledged to spend £500m on the illegal and immoral Rwanda scheme
Look at the #Budget today. Imagine how much better that money could be spent
To help people instead of hurting them
Hey everyone. I am urgently looking for a contract now, if anyone knows of any (very) senior developer/architect roles in the #dotnet world please let me know.
(DMs open, pls RT)
How the best-selling newspaper in Germany (and Europe) reports when farmer protests result in injuries to people (left) vs. how it reports when climate protests result in damage to things (right)
Decided to investigate #FableCompiler tonight.
Created some .net code for validation, generated the validation in js and run it from Node.
Impressive and easy.
Next step: run in browser!
Exciting!
#fsharp#dotnet
An excellent opportunity to explore what F# has to offer and discover a different way of looking at problems, from someone who knows the subject very well.
@jordan_n_marr I think I've managed to use Aggregate frequently enough at work that other team members are now reaching for that naturally some of the time. I'm never scolded in PRs.
Of course it would probably be a while lot easier it wasn't called aggregate!
#dotnet can you run a mix of minimal api routes with mvc controllers in the same app? Or did I dream that?
Thought I'd seen it documented somewhere, but now can't find it.
#csharp