There are two cases:
- Initialization of variables declared in blocks that only contain variable declarations:
data and parameters.
- Initialization on any other block.
For the first case, initialization should be forbidden, as neither data nor parameter should support initialization.
For the second case, initialization is a syntax sugar for declaration + assignment.
There are two cases:
dataandparameters.For the first case, initialization should be forbidden, as neither
datanorparametershould support initialization.For the second case, initialization is a syntax sugar for declaration + assignment.