Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Why is connect deprecated?

Asked by
blowup999 659 Moderation Voter
7 years ago

I've always used event:connect(), except I was going through RBXScriptSignal and I saw that connect is deprecated in favor of Connect() does anybody know why this is?

0
It's not technically deprecated; Connect isn't even studio highlighted. No worries cabbler 1942 — 7y
0
Its not, Ive been using :conect() for a while, and my code still works. hiimgoodpack 2009 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

It was most likely because connect is inconsistent with Roblox's use of Pascal Case for object member names. Other such instances of this have occurred in the past, for instance getService being deprecated in favor of GetService in DataModel.

Ad

Answer this question