- PHP Reactive Programming
- Martin Sikora
- 139字
- 2021-07-09 19:06:15
Declarative programming
Declarative programming is a paradigm focused on describing a program's logic instead of particular executional steps. In other words, in declarative programming, we define what we want instead of how we want it. In contrast to imperative programming, programs in declarative programming are defined with expressions instead of statements.
Very common examples could be SQL and HTML languages. Consider the following database query:
SELECT * FROM user WHERE id = 42
In SQL, we define what data from what table we want to query, but the implementation details are completely hidden for us. We don't even want to worry about how the database engine stores or indexes the data.
In HTML, we define the structure of elements; what's behind the browser's rendering process isn't important for us. We just want to see the page on the screen.
- Python從菜鳥到高手(第2版)
- Dependency Injection in .NET Core 2.0
- Internet of Things with the Arduino Yún
- Unity 2017 Mobile Game Development
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- 21天學通C++(第5版)
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- PyQt編程快速上手
- Anaconda數據科學實戰
- H5+移動營銷設計寶典
- 軟件測試技術
- Less Web Development Cookbook
- 城市信息模型平臺頂層設計與實踐
- C# 7 and .NET Core 2.0 Blueprints
- Learning Puppet