# Should we use pointers to make user friendly interfaces?

**URL:** <https://fortran-lang.discourse.group/t/should-we-use-pointers-to-make-user-friendly-interfaces/7342>\
**Category:** Uncategorized\
**Created:** [February 5, 2024, 2:08pm UTC](https://fortran-lang.discourse.group/t/should-we-use-pointers-to-make-user-friendly-interfaces/7342 "2024-02-05T14:08:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ivanpribec](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/ivanpribec/32/3290_2.png) [@ivanpribec](https://fortran-lang.discourse.group/u/ivanpribec)\
**Post date:** [February 5, 2024, 4:55pm UTC](https://fortran-lang.discourse.group/t/should-we-use-pointers-to-make-user-friendly-interfaces/7342/2 "2024-02-05T16:55:30Z")

</div>

Concerning your `set` subroutine, I would recommend using the `pointer` attribute for the input arguments, in line with the discussion in this thread: [Why/When is the `target` attribute part of the characterisics of a procedure - #3 by aradi](https://fortran-lang.discourse.group/t/why-when-is-the-target-attribute-part-of-the-characterisics-of-a-procedure/4826/3)

---

_[View the full topic](https://fortran-lang.discourse.group/t/should-we-use-pointers-to-make-user-friendly-interfaces/7342)._
