0
На рассмотрении

Whats the main difference between feature envy and inappropriate intimacy?

Pedro La Rosa D. 12 месяцев назад обновлен 12 месяцев назад 2
Hello, I've reread about Feature Envy and Unapropriate Intimacy code smells many times comparing both to see the differences.

These two code smells are soo similar each other and I can't see the actual differences between them.  I'm a little bit stock with this topic.

Can anyone explain it to me, please?

На рассмотрении

I think this answers the question perfectly: https://stackoverflow.com/a/23311968

Fine, OK. I think I got it. 

Unapropriate Intimacy is about a class consuming data that should be encapsulated from another class.

and Feature envy is about a class that mainly uses another class' public data in its methods.

Am I right?

Сервис поддержки клиентов работает на платформе UserEcho