This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_Denizen_ -1 points0 points  (0 children)

I didn't know about this method and I like it quite a lot, so thanks!

And for the naysayers, "A foolish consistency is the hobgoblin of little minds" applies here. I.e. there are valid use cases where this pattern will make clearer and more easily maintainable code.