Learn EDR Internals: Research & Development From The Masters
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore declarative thinking and programming in this 29-minute EuroPython Conference talk. Discover the differences between declarative and imperative approaches through real-life examples, and learn how declarative programming can enhance problem-solving in Python. Examine practical applications, including the use of configuration files, list and dictionary comprehensions, and sets to avoid control flow statements. Gain insights into logistic programming with PyDatalog and see how it can be applied to solve mathematical crosswords. Understand the advantages of declarative programming for scalable execution and maintaining a single level of abstraction in your code.
Syllabus
Intro
Outline
Motivation
Imperative vs. Declarative
Leaky Abstractions
Example 1: List Comprehensions
Example 2: Dictionaries
Example 3
PyDatalog
Math Riddle
Other Applications
Summary
Taught by
EuroPython Conference