4 ms·
If you're interested in this then you might like how Nim approaches this with its React-like framework Karax. No square or other brackets, just indentation def
by dom96 8y ago
If you're interested in this then you might like how Nim approaches this with its React-like framework Karax.
No square or other brackets, just indentation defines the structure and it's beautiful. The only oddity is that 'div' has to be written as 'tdiv'. Here is an example from the Nim forum's frontend code: https://github.com/nim-lang/nimforum/blob/master/src/frontend/error.nim#L15 https://github.com/nim-lang/nimforum/blob/master/src/fronten...