3 ms·
Nim uses it too. IIRC, Python's predecessor (ABC) didn't have the trailing colon but they did some experiments and found it increased readability.
by dbrueck 2y ago
Nim uses it too.
IIRC, Python's predecessor (ABC) didn't have the trailing colon but they did some experiments and found it increased readability.