Comment

Comment by baby

I was thinking today that there's something wrong about thinking too much in types and type relations.

Rule 5 of Rob Pike[1] says:

> Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.

which makes a lot of sense to me. You see this concept being used all over the place in Golang/Rust.

But functional languages make you think in very different ways, which makes your program organized in much different ways as well. Although I can't quite put my finger on what exactly is so different.

[1]: http://users.ece.utexas.edu/~adnan/pike.html

parent baby 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton