Whose categories? Sorting as judgment
Today you learn if, else, and the booleans that drive them.
Most ifs are plumbing: is the file empty? is this a number? But the same basic logic decides who gets the loan, the match, the apartment, the interview, the flag.
When an if decides something about a person, it is sorting people — and sorting is never neutral. Someone drew the line.

A category is a decision: this counts as the same; that counts as different. Drawing the box is an act of judgment before it is ever an act of code.
Positive, negative, or neutral? Hands up.
"the bill of right says freedom of religion, not freedom from religion"
"Seems pretty clear cut. If schools are government funded = keep your religion at home"
"Anyone who thinks teaching kids about morality is a bad idea should have zero input on raising children!"
Where did the room disagree? That disagreement is what a category hides.
Every classification system encodes values — about what matters, what counts, and who belongs where.
The last lecture said code is not neutral. Classification is where you will feel it most directly.
Long before computers, a status decided which doors opened: noble or commoner, citizen or foreigner, insider or outsider.
The variable was social — but it often worked like a boolean. One bit, and the gate swung open or stayed shut.
The software era didn't invent the gate. It automated it, and renamed the variables:
credit_score·criminal_background·employment_status·immigration_status
The same logic, renamed: a value about a person, checked at a threshold, deciding what they get to reach.
What changed is scale, speed — and that the judgment now hides inside a function that looks like math.
A simplified loan rule, in the syntax you'll write this week:
credit_score = 649
income = 72000
if credit_score > 650 and income > 50000:
decision = "approve"
else:
decision = "review"
Who chose 650? Is the person at 649 really different from the person at 651?
And the person at exactly 650? > says review. >= would say approve. Someone chose that symbol, too.

A threshold is the most ordinary line in programming, and one of the most consequential.
In HW3 you'll sort our comments with two cutoffs on VADER's score (−1 to +1): ≥ 0.05 is positive, ≤ −0.05 is negative, everything between is neutral.
Move those lines to ±0.5 and "neutral" doubles — same rows, same scores.

Two real rows from our file, a hair apart:
"Considering the behavior and moral (?) actions of some prominent politicians I suspect they really don't follow their own philosophy." — +0.03, neutral
"A schoolchild could tell you this outcome… Waste of time and resources" — −0.05, negative
Those cutoffs came from VADER's authors. Keeping them is still a choice — and it will be yours.

Code needs clean categories, and people don't come clean. So the system forces the fit — and whatever won't fit the schema simply disappears.

Until 2014, Facebook asked every new user to choose one of two genders. That year it added dozens of custom options.
A two-option field is, in effect, a single bit: 0 or 1. Cheap to store, easy to sort — and silent about everyone it doesn't fit.

Remember the missing voices from the last lecture: absence from the data isn't absence from reality.
Here is one of the mechanisms. People go missing not only because they never posted —
but because the categories had no drawer for them.
Everyone is sorted by systems like these — coders included. What coding literacy changes is whether you can see the sort.
You don't have to become an engineer.
Most code really is plumbing. But the key choices about people — the variables, the categories, the cutoffs — encode values and land on real lives.
In a few weeks you will be the one drawing lines: which words are "stopwords" worth deleting, which comment is "positive," where one "topic" ends and the next begins.
Each is a classification, and each is a judgment you are making for someone else.
Leave the #comment that says where you drew the line, and why.
The honest classifier isn't the one who found the neutral categories — there are no neutral ones.
It's the one who shows you where they stood when they drew the box.