Hacker News new | ask | show | jobs
by richrichie 728 days ago
Also (in C++ lingo):

1. Start by writing programs with vectors and maps.

2. Learn all about data structures, algorithms, cache misses, memory efficiency etc

3. And then write programs with vectors and maps.

2 comments

> 3. And then write programs with vectors and maps.

But the maps this time are absl::flat_hash_map (or another C++ alternative hash map such as Folly F14, etc) instead of std::map (or even std::unordered_map).

Also in Haskell:

1. Start by doing everything in ReaderT Env IO

2. Learn all about mtl (or monad transformers, free monads, freer monads, algebraic effects, whatever)

3. Do everything in ReaderT Env IO