News for hackers. Stuff that matters.
Re:Please fix your Python decorators by jerf on Monday August 01, 2016 @10:07PM (#12207424)
I think the antipattern is examining a function's textual arguments and trying to infer things from the names and such. I've had more trouble with that than it has saved me time, between not being able to diagnose things when the magic breaks and the sheer opacity of where arguments are coming from, not to mention all the other quirky little things that go wrong when you push a system that hard.

Just because you can introspect a thing does not mean you must introspect that thing.

There are no comments on this comment yet.