I like the ones in the first two paragraphs and the last one (inline enums),
but not the rest.
Having strings formatted by default is inconvenient when you want to include
curly braces in them, and having to write `&""` instead of `""` is not that
bad. If something can be a macro rather than a feature of the core language, it
should.
We already have multiline strings. What I'd really appreciate would be
multiline strings that automatically strip extra indentation, like this:
if something:
let nimCode = """
for foo in foos:
echo foo
"""
Run
The field access shortcut looks weird, though I agree that writing `thing =>
thing.field` is annoying.
Postfix if is an abomination. It reverses the order you need to read the code
in order to understand what's happening. It's like `COME FROM` in INTERCAL.
We already have `collect`. (However, I'd appreciate `collect` to support
strings.)