Ada Lovelace Day: Barbara Liskov

It’s Ada Lovelace Day. Here’s my post:

Barbara Liskov is a pioneering computer scientist and winner of the ACM Turing Award for 2008. She’s currently head of the Programming Methodology Group in MIT’s Computer Science and Artificial Intelligence Lab.

Barbara Liskov in 1975] Back in the 70s, she designed a programming language called CLU, which established fundamental concepts about data abstraction that influence every object-oriented programming language (which, honestly, means pretty much every programming language–you heard me, Lisp weenies) being used today. Ruby, C++, C#, Java… they were all built on her work.

I know about Barbara Liskov mostly from the Liskov Substitution Principle:

Let q(x) be a property provable about objects x of type T. Then q(y) should be true for objects y of type S where S is a subtype of T.

Put another way (and you probably need to know a little bit about object-oriented design to appreciate this), subtypes must always be able to be substituted for a supertype. Programmers mess this up all the time, and it makes for god-awful messes in code, which is why we need Barbara Liskov to set us straight.

[Barbara Liskov]