Dave Cook

1.9K posts

Dave Cook banner
Dave Cook

Dave Cook

@dcook_net

Software Engineer, snowboarder, home baker and tired farther...

UK Katılım Aralık 2009
92 Takip Edilen243 Takipçiler
Dave Cook
Dave Cook@dcook_net·
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!
English
0
0
0
26
Dave Cook
Dave Cook@dcook_net·
@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.
English
0
0
0
15
Dave Cook
Dave Cook@dcook_net·
A little bit of coaching yesterday has tightened up my groups. Tired today though
Dave Cook tweet media
English
0
0
1
25
Dave Cook
Dave Cook@dcook_net·
#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
English
1
0
0
111
Dave Cook
Dave Cook@dcook_net·
@ijrussell Thanks. I think this is the one I was thinking of.
English
0
0
0
25
Dave Cook
Dave Cook@dcook_net·
Back to Archery after nearly 8 years....
Dave Cook tweet media
English
0
0
2
38
Dave Cook retweetledi
Led By Donkeys
Led By Donkeys@ByDonkeys·
A short history of the Conservative Party backing the mob
English
260
7.3K
12K
1.2M
Dave Cook retweetledi
Cllr Benali Hamdache
Cllr Benali Hamdache@greenbenali·
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
English
8
47
75
7.5K
Dave Cook retweetledi
Rendle Has Left The Dumpster Fire
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)
English
9
181
116
61.3K
Dave Cook retweetledi
Giulio Mattioli
Giulio Mattioli@giulio_mattioli·
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)
Giulio Mattioli tweet mediaGiulio Mattioli tweet media
English
19
225
810
57.2K
Dave Cook retweetledi
Zack Polanski
Zack Polanski@ZackPolanski·
Real change is on the ballot paper at the next election. Don't let anyone tell you otherwise. Join us: greenparty.org.uk/join
English
222
894
1.8K
646.1K
Dave Cook
Dave Cook@dcook_net·
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
English
0
4
9
493
Dave Cook
Dave Cook@dcook_net·
That feeling when you find Cobi mixed in with your Lego!
Dave Cook tweet media
English
0
0
0
33
Dave Cook
Dave Cook@dcook_net·
@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!
English
2
0
1
140
Jordan Marr
Jordan Marr@jordan_n_marr·
Using record types in C# is problematic in most situations because the paradigm remains mostly procedural loops + mutable data. It is a bit of an impedance mismatch without all a full suite of "immutable by default" features.
English
4
0
12
1.9K
Andrew Craven
Andrew Craven@acraven_dev·
@dcook_net It is possible and I have seen it done (I did it myself a while back🤦‍♂️)
Andrew Craven tweet media
English
2
0
0
11
Dave Cook
Dave Cook@dcook_net·
#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
English
1
0
0
90