News for hackers. Stuff that matters.
Re:Ask HN: How did you learn good program design? by mjepronk on Saturday May 14, 2022 @09:34AM (#31377770)
I like the book Domain Driven Design by Eric Evans.

Also, pure functional programming and immutability have greatly influenced my design even in languages other than Haskell (my main language is Python).

Eric Evans also stresses the importance of immutability of what he calls Value Objects.

Re:Ask HN: How did you learn good program design? by sdevonoes on Saturday May 14, 2022 @12:10PM (#31379374)
I think the Evan's book about DDD is the worst by far. The one from Vaughn Vernon is better imho (more practical without losing the theoretical aspect).
Re:Ask HN: How did you learn good program design? by Supermancho on Saturday May 14, 2022 @11:48AM (#31379128)
Working with languages that force a lot of immutability (Erlang, Haskell, etc) will change how you think, for sure.