4 ms·
Yeah I was about to highlight this, for example the core.async library bringing "go channels". Like the `while` loop is not "part of the language", it is a mac
by nikonyrh 5y ago
Yeah I was about to highlight this, for example the core.async library bringing "go channels".
Like the `while` loop is not "part of the language", it is a macro which rewrites it as a `loop`. Also `for` is just a macro, feel free to write your own version without needing to fork the language itself.
This might be a difficult concept to understand to people who have only used Python, JS, C# etc.