3 ms·
I'm referring to a more superficial and subtle influence, and V also has other influences (like C) and Go, but if you are working with it then you will notice t
by Tozen 5y ago
I'm referring to a more superficial and subtle influence, and V also has other influences (like C) and Go, but if you are working with it then you will notice them. Some are: 1) Uses modules 2) Declarations made at the top (no headers, so more like the Pascal family) 3) Types are indicated after, not before like in the Pascal family as oppose to C (fn foo(a int, b string)). 4) ":=" uses the walrus (visitor := ['Tom', 'Jake', 'Harry']) 5) Use of .. for subrange, etc...
It's debatably enough for those that know Oberon/Pascal to feel more comfortable. You can see the purposeful blending of various qualities of the languages.