Ben Cabrera
190 posts


@richcampbell This meme would have been great in this morning’s code review meeting.
English

@Jacobtheclipper When you slow MJ videos down, that’s really when you pick up on the greatness. Such a flawless move…
English

The results are in for picks 1-4 in the 2025 #NBADraftLottery presented by State Farm:
1. Mavericks
2. Spurs
3. 76ers
4. Hornets
English

@NickDiFabio1 God put people with huge flaws in his lineage to show that we all fall short!
English

@mjovanovictech Love it. Has made my code cleaner and easier to unit test, etc etc
English

I never understood the hate MediatR attracts.
It's one of the best libraries in the .NET ecosystem.
Here are just some of the things I can do:
- Organize my code around use cases with requests and handlers
- Cross-cutting concerns with pipeline behaviors
- Design highly-testable handlers
- Make API endpoints/consumers thin
You can extend and customize MediatR in so many ways.
There is some overhead with how requests and handlers are connected.
It's implemented at runtime, so you can't "step into" the handler.
The argument is this makes debugging harder.
But I just place everything related to one use case in the same folder.
I can quickly find the relevant files, update, debug, and write tests.
MediatR + Vertical Slice Architecture is the perfect combo.
Learn more: milanjovanovic.tech/blog/vertical-…
What's your take on MediatR?

English

@richcampbell Left side: testing demo before demo meeting. Right side: demo during demo meeting.
English

@mjovanovictech Am I the only one that fears JS frameworks that have an upgrade every 5 minutes, and by the time your 1 year project is done you’re already behind 10 versions?
English

@CQuill97 I didn’t know it was the same person. Finally you can’t tell that Clark Kent is Superman!!
English
Ben Cabrera retweetledi

Here are 5 underappreciated LINQ methods you should know:
- Zip
- Chunk
- OfType
- DistinctBy
- SelectMany
LINQ is full of gems that can make your code cleaner and more efficient.
Here are 5 more honorable mentions that didn't make the cut:
- SequenceEqual
- Aggregate
- GroupJoin
- ToLookup
- Intersect
P.S. Every Saturday morning, I send one practical tip to 57,000+ .NET engineers to help them grow their skills.
Join free here: milanjovanovic.tech/?utm_source=Tw…
What's one LINQ method that you think deserves more love?

English

@FrozenJava Wow. Would have thought it was worth the upgrade, but haven’t really seen what M4 brings
English

@SuperMintyDog @cb_doge I have been working with some AI tools in development that are free, and they’re not to far off, so I imagine that this bot is much more advanced than the tools I see and I’m pretty sure it’s real. It’s not hard to add logic to say “umm” before a sentence. I mean we all do it now
English

@cb_doge Well I do have to tell you that hes talking to a human speaking through the bot.
English

@ThaKidSantana @ComplexMusic Check out his other songs. He’s been dope for a while
English

@ComplexMusic This my first time hearing Lecrae rap...
English






















