So, i've been analyzing code examples, reading the docs and everything. So now i have some questions and observations to do:
1.
PObject* = ref TObject
TObject* = object ...
This surely comes from my lack of understanding of the language, but why the need for the reference exactly ? Must i always expose the object types that way ?
3. And about operator syntax like proc `something=` ... Does it only accepts " ` " ? Maybe a simple " ' " would be better ? For me the best would be something like operator '=' (...) or simply op. That's from my view point of course. From yours it may be outrageous :)
I think for now these are the only things that bother me in a way or another. I think it's natural for someone that codes only in C# 99% of the time ! Other than that i took quite a liking to Nimrod :)
Is * syntax for visibility the final choice ? I feel that it takes away readability. I would never guess what i's for without reading the docs.
It comes from Oberon syntax AFAIK (one of a couple of languages that influence Nimrod). I do agree with this, and I prefer something like "export" modifier, but Andreas seems to prefer short and concise symbols or abbreviations. Normal people wouldn't know the meaning of * operator in mathematical expression in code as well without reading the docs, but it's quite easy to remember.
And about operator syntax like proc something= ... Does it only accepts " ` " ? Maybe a simple " ' " would be better ?
Possible, but maybe Andreas would like to make it separate token as ' is already used as character literal delimiter (plus, it would ease the lexical analysis).
For me the best would be something like operator '=' (...) or simply op.
AFAIK it's also for property access declaration, so the name is required.
# module A
import B
export B.mySymbol # delegates to B so clients of A don't need to import B
# module B: export marker '*' will still be supported, but you can also use 'export' here
export mySymbol
proc mySymbol() = nil
# maybe this will be supported too:
export proc mySymbol() = nil
Anyway i'm now following the evolution of both Nimrod and D. We deserve better than C++/C i'm sure.
Rafael Vasco is following the evolution of both Nimrod and D, he doesn't follow evolution of Rust! He just doesn't care about Rust! Nobody cares about Rust! You even cannot export imported symbols in Rust!
What you are thinking about this, people? Post here your thoughts about Rust. The forum needs more posts, people will search net for Rust and find this forum!