Imperative vs Declarative code: What's the difference?

preview_player
Показать описание
In this video we talk about the difference between imperative and declarative code and give an example using event handling on a button in Codepen.

TLDR; imperative code is where we actually write code to perform an action, wheras Declarative code is where we specify what we would like to happen and the compiler works out the details for us under the hood.
Рекомендации по теме
Комментарии
Автор

Thank you for this video! That was simple and perfectly explicit!

CorentinLeman