6 ms·
> boilerplate Design Patterns are said to compensate for features missing in a language (e.g. Visitor for multiple dispatch). ChatGPT is sounding similar - sol
by hyperthesis 4y ago
> boilerplate
Design Patterns are said to compensate for features missing in a language (e.g. Visitor for multiple dispatch). ChatGPT is sounding similar - solving accidental complexity that "shouldn't" be there in the first place.
- iudqnolq 4y agoYes. I find it valuable for writing boring translation code when. Stuff like match network_foo_int { TYPE_A => Foo::A(read_a()), TYPE_B => Foo::B(read_b()), ... I've also found it reasonably good at writing the inverse of the preceding function.