How should I pronounce the :: and -> in PHP?
Posted
by
NickC
on Programmers
See other posts from Programmers
or by NickC
Published on 2011-02-01T17:33:03Z
Indexed on
2012/07/04
3:22 UTC
Read the original article
Hit count: 270
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