Syntax for arrays?

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


Ye I've attempted to do it 3 times lol and I gave up. I'm sure you'll be able to do just fine though. You have a better attention span than me!

Also, stop copying my idea BRO. Me and @realTronsi were creating a language one time and we were going to use the set keyword as a variable declaration like seriously bro stop copying us lol