--

You segregate and generalize when you have more than one implementation.

If you have just one, you are being speculative.

You example is valid once you have two vehicles. not before

--

--

Maximiliano Contieri
Maximiliano Contieri

Written by Maximiliano Contieri

I’m a senior software engineer specialized in declarative designs. S.O.L.I.D. and agile methodologies fan. Maximilianocontieri.com

No responses yet