Return to “Scripting & Modding”

Post

Assignment

#1
Most of my threads here at this point will be about how this language will look like to code, so in some languages you can say

Code: Select all

var = 1
which is pretty standard some languages say this along with what is above

Code: Select all

var <- 1
though they are completely identical, they do bring up a question whether or not the latter should be used, my personal opinion is that you should be able to have both of them it doesn't hurt and it really is only a means of preference

~Sly
IVE BEEN OUT OF MY MIND A LONG TIME
Post

Re: Assignment

#2
This is a little general. Are you asking only about assignment operators? It doesn't really matter, you could make a language where this is an assignment:
var 1 (No explicit operator or function? Assign)

I'm in favour of the least possible keypresses to do the job while being reasonable to read, = does that for me in the clearest way
As long as we don't end up seeing (<-)(foo)(bar) then I'm happy.
woops, my bad, everything & anything actually means specific and conformed

Online Now

Users browsing this forum: No registered users and 5 guests

cron