Yes, the main benefit would be the ability to pair program remotely. If I were to be teaching my friend how to get started with LuaU through roblox studio, it’s very difficult and time consuming to actually make programs with them. Rather, I’ll usually have to fall back on something like discord to screen share and attempt to explain verbally every time something is wrong as they are writing. If there were say, realtime editing, I could set up specific parts of the script, make small corrections, or easily point out sections of code which need review while he is writing code. He is seeing my changes immediately, rather than limiting the program to one editor at a time. Another example would include me reviewing my friend’s code and adding notes as he is writing to let him know how to improve in certain areas of his program. When he gets the chance, he will go back to those areas for a minute and update them, then resume on what he was doing further down in the script.
With the current system, he would have to exit the script and stop everything he’s writing while I add comments, then once I finish adding comments I must leave the script so he can continue writing and address my comments. This isn’t much different with Collaborative Editing (draft editing), except the extra step would be committing drafts between each of us making changes to the same code.
I don’t quite know what you mean by live, but when I say live I do not mean immediately published into the game but rather taking effect in real time. (Player 1 deletes line 1, Player 2 who is also editing the script sees the removal of line 1 immediately.) If by live you mean within studio, and the script possibly throwing an error when one partner decides to test while another is writing, then I personally don’t see a problem with this behavior. If we are using normal script editing and my partner exits his script without it being done, then the broken script will error when the game is tested. So in a sense, you would have to tell your partner to bring the script into a functional form before testing it, but that’s not much of a difference from what we have now. Alternatively, real time editing like this could also be in the form of drafts. If the game has Collaborative Editing (draft editing) enabled, then you wouldn’t have to worry about your partner working on a script while you are testing because the changes aren’t yet pushed. All partners would share the same drafts and you could enter your partner’s draft and work on it with him in real time. The draft feature would be toggle-able, and so would the live editing feature.