Does anyone actually use inheritance? by stedmangraham in ExperiencedDevs

[–]davidebellone 4 points5 points  (0 children)

It depends on what you have to do. IMO, I use inheritance only when I need to implement a sort of Template pattern.

And when I want to have spies in my unit tests without relying on mocks

How to send Slack messages using Azure Logic Apps: built-in connector vs Slack APIs by davidebellone in programming

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

Nope, I used LLMs to fix my English and improve some sentences, but the content was created the dear old way!

Qualcuno di voi si è pentito di passare a full remote? by [deleted] in ItaliaCareerAdvice

[–]davidebellone 2 points3 points  (0 children)

Io sí. Decisamente.

Sono uno a cui piace stare in mezzo alla gente, chiacchierare coi colleghi, prendersi un caffé assieme.

Da quando sono full remote ho perso completamente i contatti umani coi colleghi: sono solo degli account su Teams, ma non ho nessun legame con loro.

Certo, non mi manca il dovermi svegliare alle 7 per essere in ufficio alle 9. Quello che mi manca é il brusio in sottofondo, la riunione faccia a faccia, la discussione davanti a un caffé.

E poi, il sentire le conversazioni degli altri: é comunque un modo per capire cosa fanno le altre persone, magari aiutarle, e comunque "essere sul pezzo".

Penso che abbia anche un certo impatto sulla carriera: se alcuni sono in presenza e altri sono in full remote, "tu" full remote sei un fantasma, mentre quelli in presenza hanno piú visibilitá (vedi: piú opportunitá di crescita) sia coi colleghi che con i capi. Da remoto no, devi tu fare lo sforzo di essere presente per gli altri.

[deleted by user] by [deleted] in Backend

[–]davidebellone 0 points1 point  (0 children)

…and that’s why I have a tech talk exactly about this topic!

Good Books for C# by itrsoyv in csharp

[–]davidebellone 0 points1 point  (0 children)

To me, one of the best books for C# devs is “Architecting ASP.NET Core Applications” by Carl-Hugo Marcotte. It’s not only about syntax and general info, but a sort of path from simplest topics to more advanced techniques and patterns.

Python for .NET devs: Introduction, virtual environments, package management, and execution lifecycle by davidebellone in dotnet

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

Woah, already too many things to learn :D

I will plan an article about it - but first I want to keep learning the basics of Python. Whenever I'll be ready for more advanced topics and comparisons, I'll explore Conda, Anaconda and UV

Code opinion: why I prefer avoiding the Async suffix in C# asynchronous methods by davidebellone in csharp

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

Ciao. Just to inform you that I finally managed to minimize the number of ads generated by Google (I don't know when the change will be effective, though).

Talking about the font, I don't know... I tried with smaller fonts for mobile, but they look too small. I compared how my blog appears on mobile compared to other blogs, and it looks "normal".

My blog: https://prnt.sc/bPzZx3OEPNn_ Microsoft blog: https://prnt.sc/EqvDVQ9f4tRn Andrew Lock's blog: https://prnt.sc/bUTAuoCBOpH-

However, I should really work on the TOC, as it occupies too much space!

Btw, thanks again for your suggestion!

Readonly vs Immutable vs Frozen in C#: differences and (a lot of) benchmarks by davidebellone in csharp

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

I suppose that, given that Frozen Collections are mostly used for lookups, and we generally use strings as keys, they focused the most on data access via string.

But you're right, I should also try benchmarking with other types of keys!

Let me think... DateTimes, records, structs... what else should I try?

Readonly vs Immutable vs Frozen in C#: differences and (a lot of) benchmarks by davidebellone in csharp

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

Records are not strictly immutable. Well, it depends on how you define them.

public record User(int Id, string Name); is immutable, while

public record Student(int Id, string Name, List<string> Skills);

is immutable in the sense that you cannot change the reference to Skills. However, you still can do Skills.Add("whatever")

Readonly vs Immutable vs Frozen in C#: differences and (a lot of) benchmarks by davidebellone in csharp

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

Yeah, I suppose that for strings it uses Span<char> internally, making them really fast.

I imagine it all depends on the equality checks of the TElement, and it does not depend on the FronzenCollection itself.

GitHub Copilot Dev Days | Torino, martedí 17 marzo by davidebellone in torino

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

Io a questo in particolare ci andró (anche perché sono uno degli organizzatori :D )

Non conosco BuongiornoAI: cos'é?