# Documentation example uses un-necessary wizardry?

**URL:** <https://discourse.holoviz.org/t/documentation-example-uses-un-necessary-wizardry/3415>\
**Category:** Param\
**Created:** [February 23, 2022, 11:41am UTC](https://discourse.holoviz.org/t/documentation-example-uses-un-necessary-wizardry/3415 "2022-02-23T11:41:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![metaperl](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/metaperl/32/3003_2.png) [@metaperl](https://discourse.holoviz.org/u/metaperl)\
**Post date:** [February 23, 2022, 11:41am UTC](https://discourse.holoviz.org/t/documentation-example-uses-un-necessary-wizardry/3415/1 "2022-02-23T11:41:22Z")

</div>

In [the manual](https://param.holoviz.org/user_guide/Simplifying_Codebases.html) we see this code:

we see:

```auto
    def __call__ (self):
        return self.title + ": " + str(self.a + self.b)

```

for both the normal and Param class.

What if the person doesnt know what `__call()__` does? Why use call for this when the more common method to use is `__str()__`? Or if you want to be user-friendly, then call it `my_name` since I believe `name` is not available for parameters in Param?

---

<div class="post-metadata">

**Author:** ![maximlt](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maximlt/32/2487_2.png) [@maximlt](https://discourse.holoviz.org/u/maximlt)\
**Post date:** [February 23, 2022, 12:57pm UTC](https://discourse.holoviz.org/t/documentation-example-uses-un-necessary-wizardry/3415/2 "2022-02-23T12:57:41Z")

</div>

I think there’s already been some users reporting that the usage of ` __call__ ` was a little confusing, so thanks for raising that again. If you’ve got ideas to improve the user guide, feel free to open an issue on Param’s issue tracker or even better a PR 🙂

> Or if you want to be user-friendly, then call it `my_name` since I believe `name` is not available for parameters in Param?

What are you referring to? I couldn’t find any occurrence of `name` in this page.

---

<div class="post-metadata">

**Author:** ![metaperl](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/metaperl/32/3003_2.png) [@metaperl](https://discourse.holoviz.org/u/metaperl)\
**Post date:** [February 23, 2022, 1:37pm UTC](https://discourse.holoviz.org/t/documentation-example-uses-un-necessary-wizardry/3415/3 "2022-02-23T13:37:52Z")

</div>

> [@maximlt](#):
>
> What are you referring to? I couldn’t find any occurrence of `name` in this page.

yes I know. But what I’m saying is that `object.name()` or `object.name` is a far more user-friendly and expressive way to call the object than `object()`. But `name` cannot be used as an attribute in `param` so I was suggesting `my_name` instead.
