# Why do we need TYPEOF?

**URL:** <https://fortran-lang.discourse.group/t/why-do-we-need-typeof/9454>\
**Category:** Language enhancement\
**Created:** [March 22, 2025, 6:13pm UTC](https://fortran-lang.discourse.group/t/why-do-we-need-typeof/9454 "2025-03-22T18:13:47Z")\
**Posts on this page:** 1\
**Showing post:** 57

<div class="post-metadata">

**Author:** ![jwmwalrus](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/jwmwalrus/32/4483_2.png) [@jwmwalrus](https://fortran-lang.discourse.group/u/jwmwalrus)\
**Post date:** [April 2, 2025, 2:27am UTC](https://fortran-lang.discourse.group/t/why-do-we-need-typeof/9454/57 "2025-04-02T02:27:34Z")

</div>

I was also hoping for the feature.

And I also fail to see the issue:

```fortran
module a_m
    implicit none
    integer :: dummy = 0
end module

module b_m
    implicit none
    integer :: dummy = 0
end module

module c_m
    use, namespace :: a_m
    use b_m

    implicit none
    private
    public :: a_m
    public :: b_m

    integer :: val = 1
    integer, public :: another_val = 2
    ...
end module

use, namespace :: c_m

implicit none

print*,c_m %% a_m %% dummy
print*,c_m %% dummy ! comes from b_m
print*,c_m %% another_val
end

```

And, even though we’re running out of ASCII symbols, I think `#` can still be used instead of `%%`.

---

_[View the full topic](https://fortran-lang.discourse.group/t/why-do-we-need-typeof/9454)._
