top | item 39328549

(no title)

rbonvall | 2 years ago

Awk doesn't have a way to define function-local variables. All variables are global, except for function parameters.

This spacing convention is meant to clearly separate mandatory parameters and optional parameters that are sometimes only introduced to "declare" a local variable.

discuss

order

michaelcampbell|2 years ago

Thanks; this may be one of the most weird conventions I've ever come across. Maybe that's a 'me' thing.