6
votes
4answers
228 views

Which is considered better: push(array,value) or push(value,array)?

This is valid for many other functions. get(array,key) or get(key,array) ? find(array,value) or find(value,array) ? Etc...
1
vote
0answers
1k views

PHP Aspect Oriented Design: Part 2

This is a continuation of this post: Review on design pattern What was taken away from that post, and other aspect oriented design is it is hard to debug. To counter that, I implemented the ability ...
5
votes
3answers
1k views

Review on design pattern

I wrote a framework and I want to hear the thoughts of other on the design patterns it uses. Every method contains three design patterns - adapters(strategy), intercepting filters, and observers. A ...