Syntax for arrays?
DynamicSquid

I'm a little confuzzled on what my syntax for my language should be. Mainly when it comes to arrays.

I don't know if I want predefined functions, or built in syntax. Like this:

The built in syntax definitely looks shorter, but it doesn't really look clean when you're working with an r-value array:

I personally prefer the built in functions for r-value arrays, but the built in syntax for variables.

So which one should I chose? I can't do both

You are viewing a single comment. View All
DynamicSquid

@MocaCDeveloper Oh, it's not C like at all! I think I forgot to update you on this, but for version 4 (coming soon), Night's going to be dynamically typed. It's also going to be really similar to Python, but it will have compile time checks making it safer.

So basically Python but it's safe