Next: 6.6 Evaluation Up: 6. Programming Previous: 6.4 Syntax Contents

# 6.5 Naming conventions

Of course you can name things any way you like, but we've used the following conventions.

- Classes start with a capital letter, words are separated with underscores, subsequent words are not capitalised (eg. `Image_file`)

- Private names are prefixed with underscores (and are hidden by most of the user interface)

- Functions from the VIPS library are prefixed with `im_`

- Global utility functions (eg. `map`), public members (eg. `Interpolate.nearest_neighbour`) are all lower case, words are separated with underscores, subsequent words are not capitalised