correct/better English DSL

Coding Critique is the place to post source code for peer review by other members of DevNetwork. Any kind of code can be posted. Code posted does not have to be limited to PHP. All members are invited to contribute constructive criticism with the goal of improving the code. Posted code should include some background information about it and what areas you specifically would like help with.

Popular code excerpts may be moved to "Code Snippets" by the moderators.

Moderator: General Moderators

Post Reply
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

correct/better English DSL

Post by koen.h »

My access control code provides a domain specific language (DSL). Some uses of it reads a bit awkward (I think): mainly the parts where 'any' is used. You can see how it works on the github repo:

http://github.com/koenhoeymans/PHPAcces ... olTest.php

I would appreciate suggestions on how to improve this. Eg I could use 'all' instead of 'any' if that is better/more correct/more natural English. In the end I would like to have the possible combinations to read as naturally as possible.

Thoughts/Suggestions?
Post Reply