Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wisty
on Oct 4, 2012
|
parent
|
context
|
favorite
| on:
Fizzbuzz, Interviews, And Overthinking
Just as you can write FORTRAN or COBOL in any language, you can write functional code in any language.
innguest
on Oct 4, 2012
[–]
No you can't, as you need the language to provide a few basic building blocks, such as lambdas, and the ability to pass functions as arguments.
KirinDave
on Oct 4, 2012
|
parent
[–]
You can generally approximate higher order functions in almost every OOP language. See C++ before it got lambdas, they have a pattern. See also java's anonymous inner classes, which are often used with the Runnable interface for that rule.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: