Topic on Manual talk:Coding conventions

Peachey88 (Flood) (talkcontribs)

I've seen some extension use the 'ef' prefix for global function names (presumably standing for 'extension function'). Is this a proper coding convention or some unholy bastardization? Is 'wf' or 'ef' preferred for global function names in extensions?

This post was posted by Peachey88 (Flood), but signed as Kaldari.

Peachey88 (Flood) (talkcontribs)

ef has been used since ancient times, but it's not super common now. In most cases modern style puts hook functions as static methods on a class, leaving few or no raw top-level functions to be so named.

This post was posted by Peachey88 (Flood), but signed as Brion VIBBER.