Connecting the Nots: Connecting Truth Tables Using Ports

In the early twentieth century, the philosopher Ludwig Wittgenstein wrote the book Tractatus Logico-Philosophicus, in which he outlined the concept of a truth function, a higher-level abstraction of a logical proposition. His truth functions work like our truth tables, but they connect statements consisting of other functions and have only a single Boolean output value. In our truth table implementation from the section "The Truth Is in There," we had a number of inputs and a number ...

Get Wicked Cool Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.