Why is CFrame.p deprecated?

I’m just curious why.
It doesn’t make any sense in my opinion, since it’s the exact same thing as CFrame.Position, the only difference between the two is the name…

1 Like

Its similar to Connect and connect, .Position is more easily understandable than .p

1 Like

Naming convention consistency. It’s generally a good habit to avoid single-letter variables with the reason above in that it’s not really clear what you’re accessing. Roblox also uses PascalCase for methods and properties so this fits that convention instead of a lowercase letter.

See: Roblox Lua Style guide

7 Likes