Naming conversion functions

Posted by waiwai933 on Stack Overflow See other posts from Stack Overflow or by waiwai933
Published on 2010-06-05T22:19:54Z Indexed on 2010/06/05 22:22 UTC
Read the original article Hit count: 129

Which naming convention for conversions is standard across most languages?

convert_from_typea_to_typeb($arg)

or

convert_to_typeb_from_typea($arg)

Or is there another standard?

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about naming-conventions