Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Declarative Programming - What is declarative programming with example?

Answer

While imperative programming is concerned with the means to a goal, declarative programming is concerned with the product itself. When you hail a cab, for instance, you tell the driver exactly where you want to go. Rather of giving him detailed instructions, you should just tell him where to go.