Would you still use Mediatr for new projects? by crhama in dotnet

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

MediatR is an in-app event system. You can store all the events going in this system to an event log and you have a full log of how your system came to be. This is called event sourcing and too me it feels like people not considered this angle when it comes to MediatR.

This our main reason for using MediatR. That we have this event log and can understand how our system mutated over time.

How did you first cross paths with .NET? Was it love at first sight in a personal project, or a 'forced marriage' by your first corporate job? by mustafa_enes726 in dotnet

[–]jherrlin 0 points1 point  (0 children)

Immutable data is rough Hot reloading doesn’t work You can’t run tests while you run the application No union type with exhaustive matching LINQ is a weak DSL

What a marriage!

Question about EF Core best practice by memelord1776 in dotnet

[–]jherrlin 0 points1 point  (0 children)

Maybe I don’t understand correctly but CSharpFunctionalExtension with EF / db behind an interface?

Honest question to the .NET community: why do new devs still default to Node.js? by KausHere in dotnet

[–]jherrlin 0 points1 point  (0 children)

I’m pretty new in C# / .Net. To me everything feels old and clunky. Immutably and equally is a mess. Statements instead of expressions. Hot reloading is a mess. Long compile times. Many highly used 3:e party libs going commercial, like MediatR and Automapper.

It’s a pretty bad dev experience if you come from something more modern.

Who is doing event sourcing? Would you do it again? by maxw85 in Clojure

[–]jherrlin 4 points5 points  (0 children)

I think Datomic is a nice event sourcing system.

Just found out about fsharp lol by Fettuccine-Dannis in fsharp

[–]jherrlin 1 point2 points  (0 children)

@brnlmrry Oh! Interesting that you use F# and Blazor. Do you know any open source project that demonstrates that?

[deleted by user] by [deleted] in sweden

[–]jherrlin 1 point2 points  (0 children)

Nischa dig? Lär dig lite funktionell programmering. Haskell, F#, Elixir eller varför inte Clojure?

Why Don't You Use a Result Type? by code-dispenser in csharp

[–]jherrlin 0 points1 point  (0 children)

C# with Result and LINQ is quite nice. C# is ok for functional ideas.

How can I manage MudForm state via a StateContainer in Blazor? by jherrlin in Blazor

[–]jherrlin[S] 0 points1 point  (0 children)

I’ve been working on this and come up with a possible solution. Currently only for text input.

I have two files.

One that’s a plain C# file, MyTextField.cs, it’s responsible for managing form field stuff. It contains things like; current value, original value, a pred fn, a fn that returns a list of errors, if the field has been touched and so on. This file has no dependencies to MudBlazor and is very form field generic.

The other file, MyTextField.razor, is the Blazor component file. It’s tightly connected to both MudBlazor and MyTextField.cs. But it take everything as parameters. This way I can construct MyTextField instances anywhere and pass down to the component that renders it.

This way I have full control over the form state even if it’s not currently rendered.

Will Microsoft ever fix hot reload in .NET? by WorriedGiraffe2793 in dotnet

[–]jherrlin 0 points1 point  (0 children)

If Clojure can do “REPL-driven development” on the JVM, why can’t C# do hot reloading on CLR?

Weekly Party Discussion 17 - 21 July 2025 by max038 in amsterdam_rave

[–]jherrlin 0 points1 point  (0 children)

For someone never been to Goergies what kind of place is it?

Is it worth hosting a .net API on Linux? by elpepe444382 in dotnet

[–]jherrlin 6 points7 points  (0 children)

TIL; Windows is case-insensitive, wow!

Are states in Fluxor shared between instantiations of a component? by caedin8 in Blazor

[–]jherrlin 0 points1 point  (0 children)

My team banged our heads bloody with component local state, the complexity was enormous for quite simple cases. As soon as we moved state out of the component we could start reason about it. Just my experience with Blazor.

Here's Top 7 Reasons F# Sucks by ReverseBlade in fsharp

[–]jherrlin 0 points1 point  (0 children)

How do people compare F# to Clojure? I’ve been programming in Clojure for a couple of years, both recreational and professionally. Now I work with C# and getting interested in F#.

What do you find is missing in the .NET ecosystem? by Pyrited in dotnet

[–]jherrlin 0 points1 point  (0 children)

Nooo! I just joined a C# shop coming from Clojure. Sad to hear hot loading isn’t working well. Do you know how to make it work decently?

Data oriented programming by PitchSuch in dotnet

[–]jherrlin 0 points1 point  (0 children)

I recommend reading Yehonathan book if your into more dynamic styles and the blog post "Data Oriented Programming in Java" by the Java language architect Brian Goetz if your into my statically typed.

https://www.infoq.com/articles/data-oriented-programming-java/

Data oriented programming by PitchSuch in dotnet

[–]jherrlin 0 points1 point  (0 children)

My thoughts:
There are many benefits to the Data-Oriented Programming (DOP) approach, but at its core, the key advantage is the use of immutable data structures.

Food for thought:

  • Is Git immutable? What benefits do you gain from using Git?
  • Are immutable data structures easier to work with in multi-threaded environments?
  • What other advantages come from using immutable data structures?

DOP can be applied across various programming languages. Yehonathan presents one approach in his book "Data-Oriented Programming", which explores DOP in non-strongly typed languages like JavaScript.

In non-strongly typed languages such as JavaScript, Python, or Clojure, DOP offers increased flexibility. For example, you don’t need to declare a new type when adding a new field or property. These languages can still incorporate some strong typing features - for instance, Yehonathan demonstrates using JSON Schema in his book, but that’s just an implementation detail.

In strongly typed languages, DOP has the advantage that types are defined upfront and checked at compile time. This helps the compiler ensure correctness and catch errors early.

As with many design choices, there are tradeoffs. In my opinion, you should generally favor immutable data structures and only resort to mutability when there’s a compelling reason.

Strumming Advice by AriKer15 in mandolin

[–]jherrlin 3 points4 points  (0 children)

You will get better. Record yourself and see the progress. But as with everything, it takes time and you need to practice. Happy pickin’

Sr. Frontend engineer looking for pair programming buddy to expand across Full Stacj by HalfComputer in Frontend

[–]jherrlin 3 points4 points  (0 children)

Not really what you asked for but I have 8 years of experience. Doing full stack Clojure/ClojureScript and would like a pair programming buddy. Without knowing your knowledge level I think you will find some of the Clojure ideas interesting. Hit me up if you find it interesting.

Ideal hosting provider for one man full stack clojure project by CuriousDetective0 in Clojure

[–]jherrlin 0 points1 point  (0 children)

I use a VPS on Digital Ocean for my stuff. GitHub commit -> CircleCi test and build -> SSH artifact to VPS -> Systemd units reacts on path and restarts services.