Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
HWR_14
32 days ago
|
parent
|
context
|
favorite
| on:
Fizz Buzz without conditionals or booleans
What's a "disguised Boolean" in this context?
nucleogenesis
32 days ago
|
next
[–]
I think it was more about doing it without a Boolean-based branch construct like a ternary or switch or whatever flavor of thing that abstracts away the explicit checks for true/false by other means. Idk though for sure
kqr
31 days ago
|
prev
|
next
[–]
Something like this:
https://entropicthoughts.com/fizzbuzz-through-monoids
gridspy
32 days ago
|
prev
[–]
I'd imagine that as any variable that only has two states.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: