Am 31.05.2012 18:24, schrieb simendsjo:

But the order of the parameters is important if you pass around parameters.
I believe it will be a maintenance nightmare when you try to
add/change/remove parameters in the future.

For normal functions and partially for renderCompat() yes but not for
render(), the parameters there are only referenced by name.

But the maintainance argument is convincing, even if you can partially
avoid the maintainance problems by passing a struct/class to the
template that can later be extended. I can put this into the framework,
just need to think about a proper place...