A request for new operators

As a Roblox developer, it is currently too hard to add / subtract a value from another value without a long line of code if you do not have a variable because you might just only need that value for one line furthermore what’s the use of making it a variable? None, exactly.

On the Roblox discord I have helped numerous people who have encountered this.
player.leaderstats.Coins.Value = player.leaderstats.Coins.Value + player.leaderstats.Gold.Value
Long line isn’t it? Wouldn’t it just be helpful if you could just do:
player.leaderstats.Coins.Value += player.leaderstats.Gold.Value
player.leaderstats.Coins.Value -= player.leaderstats.Gold.Value
This would help many developers to have shorter code and a easier to read script.

Many other programming languages have this operator so why shouldn’t we?
I have also filed this at the current time due to the new VM Lua being announced.
I dearly hope you will take this into account and add this to the platform.


This topic was automatically closed after 1 minute. New replies are no longer allowed.