Yo where my session at?
By Thom McGrath on
A thread on the Xojo Forum finally made me realize one of the things I really dislike about Xojo's recent naming changes: never end a sentence with "at." It's not technically an error, but it's less formal than I would expect for an API.
We went from
SessionAtIndex(Index As Integer) to just
SessionAt(Index As Integer) and I can see what they were going for. But ending with "At" just rolls off the tongue like a brick rolls off a table. I think I would have preferred
Session(AtIndex As Integer) but in that case the method name might not have been verbose enough.
GetSession(AtIndex As Integer) wouldn't have been so bad and follows the VerbNoun pattern.
What's done is done, but we're now forever stuck with
SessionAt, and so on.