Follow

programming idea: a switch block but instead of switching between cases of one value it switches between cases of binary comparisons (i.e. a case for or, case for and, case for xor, case for not, etc)

@amy the more functional languages use switches for destructuring and computed cases like the ones you're describing.

You might want to look into Kotlin :)

Sign in to participate in the conversation
The Lamp Institute

The Lamp Institute is an educational institution for those who have felt the drawn of its warm, soft light. The lamp is good. All hail the Lamp.