Friday, June 12, 2020

Ask HN: Idiomatic functional programming algorithms/examples/micro-projects?

If I want to try out or demonstrate an imperative programming language I'll typically start with hello world, then some math, then some basic algorithms like maybe a sort, then some classical data structures and more advanced classical algorithms, then maybe some kind of stateful app.

I feel like there are huge bodies of algorithms, programming problems and their solutions, etc. for the imperative style, but it seems like there's less of that for the pure-functional style.

Does anyone have good resources for "idiomatic functional-programming snippets" that could be used to demonstrate or test out a language?


Comments URL: https://news.ycombinator.com/item?id=23505242

Points: 1

# Comments: 0



from Hacker News: Newest https://ift.tt/3cZcGAP
via IFTTT

No comments:

Post a Comment

Ask HN: How locked down are your work machines?

I've been working as a Software Engineer for 20+ years. Places I worked in the early years barely had an IT department at all. As a dev...