
Software Design Anti-patterns
Coding Blocks
00:00
Using a Dictionary, Isn't the Best Way to Implement a Scripting Interface?
i wanted my object to look and act like a dictionary. And so that's why i implemented a dictionary. But i wasn't recreating the wheel of how an i dictionary would work, or anything like that. The anti pattern is you tacking too much stuff into this one inner face. So if you think about it like this, i have my new pie widget, right? Id be pie widget, colan, and then, you know, i widget,. coma, i saveable widget, coma, i restorable widget, comma, et cetera.
Transcript
Play full episode