![]() ![]() There's no strong preventative here other than "don't use this as a crutch to make bad APIs," which could be said about nearly any language feature. The fear is that named parameters would allow API designers to get away with saying "well, just use names on them, then you can even skip all the defaults you don't care about that way." That's true, but also misses the point that the problem is the API is too complicated. Read_value($object, true, false, false, false, true, true, 7, false, true) For example, this method call is unquestionably hard to understand:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |