There isn't really a difference between
game.Workspace
and game:GetService('Workspace')
but when it comes to scripting, everyone has a different preference. I would like to know what you guys preferences are, and why.
Personally, I always use game:GetService()
function because I can create new services, but what is the reason for you guys using it. I am honestly curious. Is it the way that you were taught? Is it easier for you?
Personally I use game:GetService(SERVICENAME).[Path] for most things, but for several cases I prefer the game.[Path] because it's more readable like in the case of game.Workspace but I mainly use game:GetService(SERVICENAME).[Path].
There is a difference between the two, one references the service Workspace and another references the object Workspace. It is really not a server-side problem anymore, but malicious scripts could rename the services and break your scripts. Also since some services are hidden its a lot more uniform to just use GetService for every service then use GetService for some and the naming method for others. (Was taught without GetService because OG scripting was just about making it work)