6 ms·
Design patterns are bug reports against your programming language. -- Peter Norvig Java sure has a lot of patterns.
by mbell 9y ago
Design patterns are bug reports against your programming language. -- Peter Norvig
Java sure has a lot of patterns.
- sitkack 9y agoAppeal to authority. Show me a language with little to no patterns.
- andrewstuart2 9y agoParentheses Hell.
- unscaled 9y agoThen what are the design patterns for Scala?
- userpass 9y agoI would be interested in that elusive language in which nothing is repeated twice.
- taway_1212 9y ago1. Cake pattern (now considered more of an antipattern I think). 2. Extending existing class with implicit conversion.
- js8 9y agoI don't think there is a language without patterns. But in other programming languages (Lisp, Haskell), we just call them functions. Edit: Actually, I think your request is even more ridiculous. If what Norvig is saying is true, then every language has patterns, because every language has bugs. So you are asking to substantiate his statement by providing a counterexample.
- sitkack 9y agoBingo!
- setzer22 9y agoAbout your edit, It's Pattern => Language bug, not Language bug => Pattern. You are assuming the opposite meaning. In other words, not all bugs are patterns but all patterns are necesarily bugs (not IMO, it's just the interpretation).
- js8 9y agoI agree that you're right in strict logic sense, but the statement that everything has bugs is already tongue-in-cheek. Anyway, what I really meant was that every language has semantic limitations that can manifest as patterns which the users have to apply. Even Lisp (static type checking) or Haskell (dependent types).