Skip to content
LogoAhmed Gafsi

Latest writing

Blog

Notes on Python, web development, AI, and teaching.

Practical explanations shaped by software engineering work and the classroom.

Python symbol beside modular code blocks and a notebook
Python6 min read

Write Python functions that explain themselves

A practical guide to naming, type hints, small responsibilities, and docstrings that help learners read code with confidence.

Read article
Web development7 min read

Make web forms feel fast before optimizing the backend

Four interface decisions that improve perceived speed, clarity, and trust in forms without hiding real network delays.

Read article
AI5 min read

Teach AI by starting with evaluation, not prompts

A classroom approach for turning an impressive AI demo into a measurable engineering exercise.

Read article