Why do we use magic methods for things like orderByXXX(), groupByXXX(), findByXXX() etc.?
We are generating the code, so we could generate these methods, too. The performance of real methods should be much better.
Well, I don't see any performance issue with those methods as you don't fire several thousand times order, group or find. The performance is rather critical when you have hundreds of methods with those methods. That would blow up your query class which makes it less performant when you initial load/declare the class and it costs probably more memory. 👎 here.
We just can't generate all methods.