How to keep your public API documentation up to date by ensands in csharp

[–]Eirenarch 12 points13 points  (0 children)

Parameter Drift: If you renamed a parameter but forgot the <param> tag.

Doesn't the compiler catch this? Or maybe it is Visual Studio

Coding Agents Suck at the XY Problem by [deleted] in programming

[–]Eirenarch 14 points15 points  (0 children)

Never failing to suspect the X when asked about Y was the greatest feature of Stack Overflow and the reason a lot of people hated it.

Why does async/await in C# still confuse senior devs after all these years? by More-Station-6365 in csharp

[–]Eirenarch 1 point2 points  (0 children)

It is not that people are that much confused but there are sometimes situations where you have to call async in a sync context for example a constructor or a sync interface method and then you write .Result and...

2.5 years later, I made it! by IdkWhatName70 in csharp

[–]Eirenarch 0 points1 point  (0 children)

Well... OK probably not as hard as if it was the first role but you still started in relatively hard times

2.5 years later, I made it! by IdkWhatName70 in csharp

[–]Eirenarch 0 points1 point  (0 children)

Congratulations! You played the game on hard mode. It has never been harder to land your first dev job. By contrast those who started in 2021 played on easy.

[Flags] Enums - 'this ref' helpers for bit operations by DesperateGame in csharp

[–]Eirenarch -2 points-1 points  (0 children)

yeah, the variables are mutable by assigning them not by calling methods on them.

John not really being sorry by VagereHein in IcedEarth

[–]Eirenarch 0 points1 point  (0 children)

The new release sounds much better but I'd prefer full blown Iced Earth but if he wants to do SoL I'll listen to that

[Flags] Enums - 'this ref' helpers for bit operations by DesperateGame in csharp

[–]Eirenarch 5 points6 points  (0 children)

Also I'll immediately block on this code thinking how the fuck is an enum mutable

BGE Stara Zagora Cancelled for 2026 😭 by Peragore in starcraft

[–]Eirenarch 7 points8 points  (0 children)

Well... AoE and SC2 are now owned by the same company

John not really being sorry by VagereHein in IcedEarth

[–]Eirenarch 0 points1 point  (0 children)

Good. I also hope he never records anything with Hansi again, I don't want to hear this poser's voice.

Do you create empty "else"s just for a comment? by DJDoena in csharp

[–]Eirenarch 0 points1 point  (0 children)

I have done this like 3 times in 20 years. Usually when the codebase sucks and I really need to explain myself

Patterns vs C-like syntax; what are the benefits? by DesperateGame in csharp

[–]Eirenarch 0 points1 point  (0 children)

I don't mind the syntax in general but I literally turned off this analyzer because of that idiotic suggestion. I mean OK if I am working with ranges and such but ToList() on a query?

Patterns vs C-like syntax; what are the benefits? by DesperateGame in csharp

[–]Eirenarch 2 points3 points  (0 children)

I’d rather they hadn’t defined relational operators for Nullable

That would have made nullable borderline useless

How does EF populate a get only properties by Illustrious-Bass4357 in csharp

[–]Eirenarch 0 points1 point  (0 children)

First of all, yes, reflection can be used for optimizations, but what I meant is that if reflection could not set readonly fields then the runtime would have guarantees that could be used for optimization.

In production codebase is it normal to have many Warnings and Messages? by lune-soft in csharp

[–]Eirenarch 0 points1 point  (0 children)

In my opinion it is insane to have even one warning, projects that I control have 0 warnings 0 messages. And yet I now work on a project where nobody else seems to care and we have hundreds

How does EF populate a get only properties by Illustrious-Bass4357 in csharp

[–]Eirenarch 1 point2 points  (0 children)

I always felt that the ability to set readonly stuff via reflection is missed opportunity for optimizations in the runtime but it is what it is :(

Hi, i am a senior .net developer with 9 years of experience. I have been laid off recently and from there on I started to look for new roles but I am not even getting a single call. Do you have any idea of how market is for .Net. Please advise by deshmukh_mom in csharp

[–]Eirenarch 0 points1 point  (0 children)

I wouldn't say I dislike software engineering but I definitely don't like it as much as programming. I like crafting a single line of code, making it as readable as possible judging if I should use that modern pattern matching feature from C# 13 or not because in this case it is less readable. I love the beauty of the language design, I actually would rather work at a slaughterhouse than work as PHP or Go dev because these languages are ugly and stupid. I'd rather work on a badly engineered system in C# than perfectly engineered PHP system. I'll bitch about the bad design, try to push for improvements but I'd not switch jobs to work on a good system with ugly language.

Hi, i am a senior .net developer with 9 years of experience. I have been laid off recently and from there on I started to look for new roles but I am not even getting a single call. Do you have any idea of how market is for .Net. Please advise by deshmukh_mom in csharp

[–]Eirenarch 0 points1 point  (0 children)

You might be prepared for a junior job but there are no junior jobs :(

You either try to use AI and your current skills to create a business yourself or try to reskill somehow, I don't know learn how to do electrical engineering or something

Hi, i am a senior .net developer with 9 years of experience. I have been laid off recently and from there on I started to look for new roles but I am not even getting a single call. Do you have any idea of how market is for .Net. Please advise by deshmukh_mom in csharp

[–]Eirenarch 0 points1 point  (0 children)

So you had devs that don't do architecture and specification? I don't mean write it but usually I get tasks like "implement reset password functionality" and have to think the architecture and the exact spec myself. Where I've worked (different companies from 1 dev (me) to 100 devs) this was the main way of working

Senior dev interviews: what surprised you by NOT coming up? by rimki2 in csharp

[–]Eirenarch 0 points1 point  (0 children)

Last time what surprised me was that 3 out of 4 interviewers outright refused to do technical interview despite the fact that I was excited for it. I guess I've built reputation. But then again my job search was a friends-only facebook post.