Skip to content

Instantly share code, notes, and snippets.

View vrde's full-sized avatar
🗿

vrde vrde

🗿
View GitHub Profile
@vrde
vrde / lamport.md
Last active October 28, 2023 13:51

Why We Should Build Software Like We Build Houses

About Leslie Lamport

Leslie Lamport is a computer scientist and an expert on distributed systems, temporal logic, and concurrent algorithms. He is a member of the National Academy of Engineering and the National Academy of Sciences. Dr. Lamport earned his Ph.D. and M.A. in mathematics from Brandeis University and B.S. from MIT. He works at Microsoft Research.

Article

Most programmers regard anything that doesn't generate code to be a waste of time. Thinking doesn't generate code, and writing code without thinking is a recipe for bad code. Before we start to write any piece of code, we should understand what that code is supposed to do. Understanding requires thinking, and thinking is hard. In the words of the cartoonist Dick Guindon:

#!/usr/bin/env bash
# inotifydo <path> <command>
# Run a command when a file in the path changes.
#
# Examples:
#
# Run my python tests when I change a file in the current path
# inotifydo . "python manage.py test"
#