Re:Become a 1000x engineer or die tryin
by iudqnolq on Wednesday March 29, 2023 @09:20PM
(#35366465)
Yes. 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.
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.