Comment Comment by dpedu I think you're looking at this basic snippet and taking it for something it's not. Not shown in this example and considered best practice are:- Defining and validating data structures passed in; type doesn't have to be a basic type, it can be complex objects- Default value- Input validation criteriaSo, with a real world example this is still going to be less verbose than the java equivalents. parent dpedu 3 years ago
- Defining and validating data structures passed in; type doesn't have to be a basic type, it can be complex objects
- Default value
- Input validation criteria
So, with a real world example this is still going to be less verbose than the java equivalents.