How should I pronounce the :: and -> in PHP?
Posted
by
Renesis
on Programmers
See other posts from Programmers
or by Renesis
Published on 2011-02-01T17:33:03Z
Indexed on
2011/02/01
23:34 UTC
Read the original article
Hit count: 349
When I read these lines aloud to someone:
$controller->process();
UserManager::getInstance();
How should the ->
and ::
be pronounced? Reading the characters themselves in cumbersome and I don't know of any nicknames for them. Being a developer who is used to C-style syntax, I'd like to say "dot", but I'd like something that is easy to say and people can easily understand.
It would also be good to know if there are any pronunciations that have become de-facto standards among teams of developers.
© Programmers or respective owner