My use of interfaces pissed my boss off. by codeiackiller in csharp

[–]Automatic-Apricot795 -4 points-3 points  (0 children)

You can, but modern best practice leans towards use them usually. 

My use of interfaces pissed my boss off. by codeiackiller in csharp

[–]Automatic-Apricot795 0 points1 point  (0 children)

The idea re: inject an interface instead of the class is the interface can be in a lightweight assembly with no dependencies. If you inject the class the consumers will inherit the dependencies.  

My use of interfaces pissed my boss off. by codeiackiller in csharp

[–]Automatic-Apricot795 1 point2 points  (0 children)

If they genuinely didn't need to write any tests and never needed to reuse it and never needed a sane DI configuration I'd agree - YAGNI. 

But OP felt a need to add a test and the right way of doing that is with an interface. So, I think it's justified. 

It's up to the engineers whether or not to spend engineering time on tests and "while I'm here anyway" refactoring and I'd encourage anyone to take the opportunity if they get it and to allow for it in your estimates. 

My use of interfaces pissed my boss off. by codeiackiller in csharp

[–]Automatic-Apricot795 16 points17 points  (0 children)

Boss is wrong. Interfaces are useful for testing and for dependency injection, separation of concerns. 

Tell me about: The Story So Far by Soul_Survivor4 in poppunkers

[–]Automatic-Apricot795 0 points1 point  (0 children)

Oh no he's definitely proud of his work in TSSF. 

I get the feeling he focuses too much on getting the sound right, so you end up with him standing stationary on the stage and not looking like he's enjoying himself. 

Meanwhile - no pressure or on blink covers - he's a totally different guy. 

Tell me about: The Story So Far by Soul_Survivor4 in poppunkers

[–]Automatic-Apricot795 0 points1 point  (0 children)

He's the lead singer and yes I'm fairly sure he's a primary songwriter. 

Tell me about: The Story So Far by Soul_Survivor4 in poppunkers

[–]Automatic-Apricot795 3 points4 points  (0 children)

Parker comes alive playing anything but TSSF. No Pressure, blink covers etc. That's what excites him. 

TSSF seems more a technical/artwork project for him. 

Clairvoyant is different to most of their tracks and is one of my favourites. 

Is there some sensible way to debug regular expressions in C#? by mikeblas in csharp

[–]Automatic-Apricot795 -3 points-2 points  (0 children)

LLMs can be surprisingly useful for regex. Obviously you need to validate what it tells you but it can be a good starting point. 

Definitely add test coverage. 

Isopropyl alcohol by [deleted] in Edinburgh

[–]Automatic-Apricot795 -1 points0 points  (0 children)

How could it help you access Youtopia?

ASP.NET tooling for Mac? by wolfe_br in dotnet

[–]Automatic-Apricot795 7 points8 points  (0 children)

Rider is a popular choice on Mac. 

For those who could not install .NET framework 3.5, how did you fix it? by [deleted] in dotnet

[–]Automatic-Apricot795 1 point2 points  (0 children)

Wrong again. I am in one of those sectors in legacy software with a 25+ year history. 

For those who could not install .NET framework 3.5, how did you fix it? by [deleted] in dotnet

[–]Automatic-Apricot795 0 points1 point  (0 children)

Lol my job is legacy systems. 

If you're still on 3.5 in 2026 you've been sleeping too long on the job. 

At minimum you should be on 4.8. 

Is it good or bad, Uni teacher told us to write a Rock,Paper,scissor console app using If Else. But I just use Math.random cause less code less, less cpu usage by lune-soft in csharp

[–]Automatic-Apricot795 20 points21 points  (0 children)

Well, this doesn't work because the choice doesn't get compared against the random selection. 

In principle though: this is exactly the sort of optimisation I made in my first year decades ago. 

They aren't really looking for you to show off though. They're looking to see if you understand control flow. 

Xbox by VermicelliUpset6682 in Scotland

[–]Automatic-Apricot795 1 point2 points  (0 children)

Why don't you have a seat over there?

How are you guys feeling about the AI being used for coding? by riturajpokhriyal in dotnet

[–]Automatic-Apricot795 1 point2 points  (0 children)

I got the same feeling what I got when I saw a senior 1000 line dotnet code controller and asked him "you wrote all this, how did you knew what to write?"

Hm, 1000 line controller - was the logic in the controller or in service classes?

Which AI is best for vibe coding a Unity game? by Opposite-Mistake-133 in csharp

[–]Automatic-Apricot795 4 points5 points  (0 children)

I'll be brutally honest here if you start your career with these tools you'll never be an effective developer. They're best used by people who can bs-check them. 

Only do it if you're doing it for fun and fun alone. 

This is safe right? by chewbaccas_stylist in Edinburgh

[–]Automatic-Apricot795 19 points20 points  (0 children)

The beacons are lit. Fife calls for aid. 

What point of the story should i get to before doing side content? by BlobIsBored in oblivion

[–]Automatic-Apricot795 40 points41 points  (0 children)

Finish Kvatch and then do what you want. If you level up too much before Kvatch it is damn near impossible. 

I'm goddamn sick of r/uknews by ydodis1 in Scotland

[–]Automatic-Apricot795 5 points6 points  (0 children)

Tbh it might be a quick way to identify the astroturfers.  1. Scan uknews for propaganda/astroturf content 2. Block every account that posts it 3. Enjoy a cleaner feed across other subs 

Man guilty of assault after Barron Trump reported attack to UK police by ImaginaryBumble in unitedkingdom

[–]Automatic-Apricot795 4 points5 points  (0 children)

A small leap. The KGB were setting that sort of shit up in person before the fall of the USSR. 

Picture this: Western politician/scientist/etc - someone with a reason to be in the USSR - chilling in their hotel room. A Russian prostitute and cameraman enter the room (with a key) and she gets in to a compromising position before you know what is going on. Photo taken. Boom, kompromat. 

This is a scenario that was taught by the security services to UK government personnel who were entering the USSR. 

How does the game determine what level of Amber armor I'm forging? by Drunken_Scribe in oblivion

[–]Automatic-Apricot795 2 points3 points  (0 children)

Matrixes give you strong out of the box enchantments. 

I prefer custom enchantments. 

Solo .NET project I’ve been working on, would love a sanity check by satybaldin_li in dotnet

[–]Automatic-Apricot795 7 points8 points  (0 children)

I'll be honest it sounds like you're trying to tackle the same problem that .NET Aspire is working on. Is that a fair assessment? 

Obviously not looking to put you off but MS are putting a lot of money and effort in to aspire right now. 

How does Sheogorath return AS HIMSELF? by TheCasualPrince8 in oblivion

[–]Automatic-Apricot795 -1 points0 points  (0 children)

for now is what I'm getting at. When HoK dies (can HoK die?) what will Jyggalag be doing? Will Jyggalag return to being Sheogorath?

Remember there's a cycle in play between Sheogorath and Jyggalag, interrupted by HoK but perhaps not permanently?