---
title: "Discussion on \"Declarative vs Imperative APIs in JavaScript (and Why Chainable Code Feels So Different)\" | Hashnode"
description: "Discussion on \"Declarative vs Imperative APIs in JavaScript (and Why Chainable Code Feels So Different)\". When people talk about “declarative” APIs, they often mean something vague like cleaner, functional, or React-style. But the real difference between declarative and imperative (non-declarative) APIs is much simpler:\n\nImperative code tells the compute..."
url: "https://hashnode.com/posts/declarative-vs-imperative-apis-in-javascript-and-why-chainable-code-feels-so-different/697a5dca48a22aed16e04126"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Declarative vs Imperative APIs in JavaScript (and Why Chainable Code Feels So Different)](https://blog.abijah.me/declarative-vs-imperative-apis-in-javascript-and-why-chainable-code-feels-so-different?utm_source=hashnode&utm_medium=feed)

When people talk about “declarative” APIs, they often mean something vague like cleaner, functional, or React-style. But the real difference between declarative and imperative (non-declarative) APIs is much simpler: Imperative code tells the compute...

Jan 28 · 4 min read · blog.abijah.me  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-language-theory](https://hashnode.com/tag/programming-language-theory)
-   [#declarative-vs-imperative-programming](https://hashnode.com/tag/declarative-vs-imperative-programming)

## Written by

[Abijah Kajabika](https://hashnode.com/@abijahkaj)

@abijahkaj

  
[View profile](https://hashnode.com/@abijahkaj)

I'm a free thinker creating stuff, from mobile apps to electronic gadgets.

Building stuff

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
