3 ms·
"Generally speaking, most design patterns reveal weaknesses in the languages where they are found" Here's a slide deck from Peter Norvig on this, Design Pattern
by ralphc 6y ago
"Generally speaking, most design patterns reveal weaknesses in the languages where they are found"
Here's a slide deck from Peter Norvig on this, Design Patterns in Dynamic Programming. He shows how many of the 23 design patterns aren't needed in languages such as Lisp or Dylan, both of which have multiple dispatch. No doubt you could apply the same philosophy to Julia today.
https://norvig.com/design-patterns/design-patterns.pdf https://norvig.com/design-patterns/design-patterns.pdf
- musicale 6y agoI'd like to see Dylan-style multiple iterator syntax in more languages. Python's zip() isn't nearly as obvious, and I wish we could do something like this in java/c++: for (a:A, b:B, c:C) ...