The hottest Substack posts of Stefan’s Substack

And their main takeaways
19 implied HN points 23 Mar 23
  1. Start teaching algebraic data types by explaining enums in languages like C or Java and then showing how to write an enum in Haskell.
  2. Introduce the concept of constructors in algebraic data types using a day-of-week datatype as a simple starting point.
  3. Explain sum types and product types as the basic building blocks to create more complex algebraic data types by combining both concepts.
0 implied HN points 20 Mar 23
  1. Functional programming concepts are now implemented in mainstream languages like C++, Python, and JavaScript.
  2. Immutability is valued in software development, especially in distributed applications.
  3. Type systems are advancing, with a shift towards more advanced type systems and verification-based ideas in mainstream languages.
Get a weekly roundup of the best Substack posts, by hacker news affinity:
0 implied HN points 17 Mar 23
  1. The Substack is a personal space for writing thoughts and interesting findings.
  2. Topics covered include research, formal verification, programming, algorithms, and philosophical questions in computer science.
  3. Author also has another sub-stack focusing on teaching and learning algorithms.