I don't think it's productive to discuss this: there is no chance Nim will
change such a fundamental part of it's syntax. I'm locking this thread.
Coming from python ... and new (happy) nim'er ;-)
I've choose nim, over rust, just because I prefer the nim syntax (a lot!) (and
nim interfaces very well with python !!!)
Indent war, was a lot present 20years ago in python discussions ... But now,
still python is number1 (tiobe): the debat is c
True. If you don't want semicolons, you can do this instead:
(if true:
echo "You can do this if you want"
(block:
echo "but everyone will hate you"
)
)
Run
To make this compile, it should be
if true: (
echo "You can do this if you want"; # note here
block: (
echo "but everyone will hate you"
)
)
Run
Plus, the semicolon will give some extra hate :o)
`if true: ( echo "You can do this if you want" block: ( echo "but everyone will
hate you" ) ) `
Run
Tools that throw away whitespace are broken tools. Broken tools should not
guide syntax design.
what exactly is your point? you just rebutted both of your options
I think that people do not like indentation is because copying and pasting code
from webpages and other sources (maybe from PDF files) might not let the
copying of the code correctly. Therefore it will not be pasted as it should
(and then the code will/might not run as it is supposed to). Files