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.
IIRC, Python's predecessor (ABC) didn't have the trailing colon but they did some experiments and found it increased readability.
No comments yet.