Go Syntax - Interface Semantics

Опубликовано: 30 Сентябрь 2024
на канале: Ardan Labs
2,312
58

Let's get a better understanding of interface semantics and the concept of polymorphism.

Polymorphism means that a piece of code changes its behavior depending on the concrete data it is operating on. Polymorphism gives us the ability to decouple our code from change.

In this video, we're learning how to leverage the interface to write code whose behavior can change depending on the concrete data that we pass through.

Read more on Interface Semantics: https://www.ardanlabs.com/blog/2017/0...

--

Access our online courses → https://www.ardanlabs.com/education

Attend a live training → https://www.ardanlabs.com/live-traini...

Other Links:
Website: https://www.ardanlabs.com/
Github: https://github.com/ardanlabs
Twitter:   / ardanlabs