3 ms·
I'd like to see ergonomics improvements, particularly to function parameters. The current best practice of "functional options" and long function chains result
by geenat 5y ago
I'd like to see ergonomics improvements, particularly to function parameters.
The current best practice of "functional options" and long function chains results in far too many function stubs ... its a minimum of 3 extra lines per parameter. Parameter structs require a whole extra struct.
Suggestion: Just borrow named / optional parameters from Python. It would cut down length and complexity of Go code drastically.