before you get mad or delete my post admin, i dont mean anything bad. Heres what i mean:
Lets say i have a variable, and this variable is called (insert cuss word)
Is that ok so long as the variables name never gets seen outside of that script? or do scripts also have to follow TOS?
Reminder: i dont mean any harm in this question, im just curious because some abriviations can be a little odd…
yes, allegedly Roblox at one point had bots searching through scripts for blacklisted words and such in fruitless attempts to reduce inappropriate games. What came of this is people who had custom swear filters implemented (or were generally unhappy scripters) got false bans
It does in some capacity, Roblox does moderate the code inside of a model to some extent, obfuscation (intentionally making the code hard or impossible to read) is not allowed amongst some other things. I do think that if you publish a modle, or module script, or anything that includes cursing in the code, Roblox may moderate it, but its not confirmed… But if your not just asking out of curiosity and are genuinely considering naming variables and other things random curse words I have to highly not recommend it.
In any case when programming you should name variables with descriptive names, your game will not be any more optimized if you use a variable called ptm as opposed to partToMove it just makes things more difficult later on. Even in cases where you think it wouldnt matter, such as in a for loop, naming each variable fully could be a life saver when trying to understand code written months or even just days ago, especially if your distributing it or collaborating.