|
|
|
|
|
by dpedu
974 days ago
|
|
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 criteria So, with a real world example this is still going to be less verbose than the java equivalents. |
|