Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nullcipher
on July 11, 2023
|
parent
|
context
|
favorite
| on:
Ask HN: Why do functional programmers hate loops (...
If i ask you to add from 1 to 10 , is that how you add ? 1 + 10 + let_me_add_from2_9 ? So yeah, not at all natural.
orwin
on July 11, 2023
[–]
You easily see it's (1+10)*10/2, so you'll get to 55 way faster this way. Way more natural.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: