Admir Mujkic
Jun 26, 2023

--

I read it again, and I'm wondering what your opinion is on implementing IEquatable<T> like IEquatable<ValueObject>.Equals. I came across a recommendation suggesting that it should be implemented explicitly to avoid confusion.

However, based on my experience, implementing such an interface makes it clear that the intention is to provide an implementation for the interface rather than overriding the base class method.

What are your thoughts based on your experience?

--

--

Admir Mujkic
Admir Mujkic

Written by Admir Mujkic

I am Admir Mujkić, a technical architect with over 15 years of experience helping businesses harness technology to innovate, grow, and succeed.

No responses yet