Replies: 1 comment 2 replies
-
Hello! Thanks for your interest to the library. I would be pleased to hear about features you think are missing for sure! To be honest at some point I was really optimisitic that I created a branch on the project for the method handling. As you can see there is nothing for that on master branch! The main issue I didn't solved for now is how to provide an optimal way to do parameter matching that would be more efficient than standard reflection. In this case it appears to be not straighforward to solve this problem. BTW I'm open to any suggestion that would maybe end on a possible solution. Of course I'm aware that You know that a common trick to get rid of reflection is to use interfaces so that you no more pay the cost of reflection and have possibilities of calling methods kind of dynamically. But it is not always ideal of possible for sure. No worry about that, Openning a Q&A thread is certainly a good way to brainstorm and then act! |
Beta Was this translation helpful? Give feedback.
-
After going though and picking apart the code, I realised that this does not provide any form of Method access (Outside of course the getter and setters). I think that is a real shame as the rest of the library is astounding. I also think there are some other features missing, but ill be honest, your documentation in the readme does not provide enough different situational cases of using this library for me to tell. I'm still trying to wrap my head around it all so I've probably missed many features, though that goes back to documentation.
Methods are what I use the most from reflection and I've been looking at a number of different libraries for more insight and ideas so that I may improve the performance of my projects that need reflection. I do know that it is not quite as easy as just doing what you did for getters and setters, but I also do know from looking at your code that you are plenty capable of finding some compromise/solution.
I feel that this is the only thing thats really missing from this repository and I was wondering if you had any plans to try and implement something like an ImmediateMethod class?
Also, I have no idea what category to put this under, I was originally going to go with Q and A, but if its not already implemented, an immediateMethods class is a suggestion, so sorry if I misplaced it.
Beta Was this translation helpful? Give feedback.
All reactions