How Should Parameter Meta Change be used?
It seems to be used perfectly in Java
In Python it is used for default arguments
Perhaps this could be extended to the * and **? However I think these are only ever used on *args and **kwargs so perhaps not?
In TypeScript it isn't used at all, however it could be used for ?, ... and default arguments
Similarly in Ruby, it isn't used at all, however it could be used for * and default arguments
Java has varargs too: public String format(String... values) {
If ... or ? or * are added or removed from a param, shouldn't that be captured as a Parameter Meta Change, or are you saying that this isn't happening right now @braxtonhall ?
Here's the current status
- Java
- [x] Parameter Annotations
- [ ]
...(this might be done, I'm not sure)
- Python
- [x] Default arguments
- [ ]
*and**(I'm not sure if this is appropriate for Python though)
- TypeScript
- [ ] Default arguments
- [ ]
...and?
- Ruby
- [ ] Default arguments
- [ ]
*
I think for Java ... is more likely to be captured my the parameter's type. This actually might be appropriate for all ... * and ?