▲ | cb321 6 hours ago | |
Nim actually already supports using `()` as braces most of the time for most constructs. So, in this sense it is more like Haskell than Python, though the latter is more well known. Nim is also more "expressional" than Python in many ways. So, for example, in Nim you can say:
Most users hate how that looks, though, much as most users of bracist languages also hate:
In reality, these discussions feel more like style guide wars, reformatted as PLang syntax wars, pun intended. | ||
▲ | Imustaskforhelp an hour ago | parent [-] | |
Wow tbh, I didn't know that you could do something like () in nim, I mean if somebody really really wants to use something similar to paranthesis, they sort of (could?) actually. Like, as to that person who thought Nim to be a deal breaker because of whitespace, I think that this new information might help them to atleast try Nim! Thanks, I learnt something new today thanks to ya! |