Functional programming and declarative programming

Published: 16 April 2024
on channel: Sergei Winitzki
725
33

My thoughts about what "declarative programming" really is, and where functional programming stands in relation to declarative programming.

Talk slides: https://github.com/winitzki/sofp/blob...

Outline:

Functional programming is interesting, but in a weird way
FP is (almost) engineering
Other programming paradigms are (almost) artisanship
A definition of declarative programming:
A language for problem requirements, understandable to people
The same language is mechanically translated into code
The only known “silver bullet” of programming
Declarative programming must be domain-specific (DSL)
We get a productivity boost as long as we avoid the pitfalls
Implementing DSLs is a “killer app” for functional programming
FP is declarative for working with recursive data structures, such as labeled trees
Requires learning some programming language theory


On this page of the site you can watch the video online Functional programming and declarative programming with a duration of hours minute second in good quality, which was uploaded by the user Sergei Winitzki 16 April 2024, share the link with friends and acquaintances, this video has already been watched 725 times on youtube and it was liked by 33 viewers. Enjoy your viewing!