Overview
This course aims to teach learners about declarative thinking and programming, focusing on describing what should be computed without specifying how. The course covers the differences between declarative and imperative approaches, advantages of declarative programming, and practical applications in Python such as using configuration files and comprehensions. The teaching method includes theoretical explanations, practical examples, and a demonstration using PyDatalog. This course is intended for individuals interested in understanding declarative programming concepts and applying them in Python.
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