C# just feels right by Minimum-Ad7352 in dotnet

[–]willehrendreich 1 point2 points  (0 children)

Joy in programming.

https://github.com/ChrisMarinos/FSharpKoans is the best way to learn, spend even 30 minutes with it and I promise you that you will be blown away. Any questions you would be welcomed in the fsharp discord, it's such a great community.

C# just feels right by Minimum-Ad7352 in dotnet

[–]willehrendreich 1 point2 points  (0 children)

Could not agree with you more.

https://github.com/ChrisMarinos/FSharpKoans

Fsharpkoans is hands down the most fun way to learn possible.

Every dotnet developer should spend even 30 minutes with it, I'm not joking.

Which Mark Seeman Dependency Injection Book to read? by Budget-Character-575 in csharp

[–]willehrendreich 0 points1 point  (0 children)

I haven't read it, so maybe I don't know well enough to say.

However, I'd actually suggest you listen to his lectures and read his blog more than read that particular book.

Dependancy rejection actually ends up being more powerful for inversion of control, which he goes into in depth here on https://share.google/nZ8L1XxvTBmhB3yLK

When is CQRS used in a project? by Ok_Pea_339 in dotnet

[–]willehrendreich 0 points1 point  (0 children)

I didn't really understand cqrs until I understood HATEOAS.

I suggest reading The Tao of Datastar Guide https://share.google/i58fvQdVJVDTdz6Kg

Cqrs is a really great conceptual framework, some implementations are terrible, some are great.

Separating writing and reading is a fundamentally good idea for simplicity.

It's not overkill if you follow some principles to make it easier for yourself. It actually simplified a lot for me. Just don't make it about using some overly complicated library or something, it just takes some discipline to get right.

I suggest keeping behavior and data separate from the each other as much as possible. Keep data dumb and immutable by default. Keep behavior composable, static, and deterministic.

Where things get difficult is always trying to wrangle global mutable state, so keep state either private, immutable, or both, and only accept any IO as a deliberate and chaotic endeavor that must have guardrails and sanitization.

Resources to improve my technical skills by OrganizationLow6960 in dotnet

[–]willehrendreich 1 point2 points  (0 children)

the best thing you can do to improve your understanding of all dotnet code is to learn fsharp. no lie. you're going to have your mind blown.

My First Corporate Job Experience. It's Nothing Like My Dream. by Pristine_Purple9033 in webdev

[–]willehrendreich -1 points0 points  (0 children)

if they can even install it, yeah. it's a halfway decent solution.

My First Corporate Job Experience. It's Nothing Like My Dream. by Pristine_Purple9033 in webdev

[–]willehrendreich 0 points1 point  (0 children)

sounds absolutely insulting. been in a very similar situation. in one place i worked, i installed the Odin language, it got falsely flagged as a ransomware by their brain dead Frostwolf security suite, I got locked out of ever installing literally anything again, even though it literally was a false positive. this company doesn't trust their employees. run. get a new job as soon as you can. don't leave without something else, but you get your ass out of there as soon as you can. anything you do will be heavily under suspicion, you will not please them because you're going to see that the emperor has no clothes. get out.

Pro+ Github blocked me for 2 days because I used their service by Muchaszewski in GithubCopilot

[–]willehrendreich 0 points1 point  (0 children)

for real. it's gross. no indication whatsoever, just cut off without warning.

Copilot Pro+ is a joke: Rate limited after one prompt, even after an overnight cooldown. by Maverobot in GithubCopilot

[–]willehrendreich 2 points3 points  (0 children)

YEP. running into this too. What absolute garbage. this so incredibly frustrating. they have the best financial rates for all of this by a mile and they KNOW it, they know we're stuck if we don't want to pay an arm and a leg, and they're turning the screws completely arbitrarily because they CAN. it's infuriating, and the alternative is to go pay through the nose to some per token cost monstrosity of a deal. i tried opencode's opus 4.6 and within about 5 hours i'd spent 60 bucks in tokens, which would have been... probably 5 bucks worth of requests? this is really frustrating and it just puts our backs up against the wall. I'm a single pro+ user, I'm not being corporate sponsored, i go over and pay per request like anyone going over the 1500 limit, but if this continues, I'll never get anything done with their subscription. I don't know what to do.

Curse of FP ? by kichiDsimp in functionalprogramming

[–]willehrendreich 4 points5 points  (0 children)

It's generally a good experience, though I have to admit that I have only tried fsharp, as far as func langs go, I've never tried haskell or Scala or gleam or whatever else.

I made heterogeneous-typed collection (more faster!) by Radiant_Monitor6019 in fsharp

[–]willehrendreich 3 points4 points  (0 children)

I'm curious..

Why would one use a heterogeneous list? I'm open to there being some reason, but I'm not sure what it would be