# Method of struct

**URL:** https://discourse.julialang.org/t/method-of-struct/89458
**Category:** General Usage
**Tags:** proposal
**Created:** [October 28, 2022, 5:34pm UTC](https://discourse.julialang.org/t/method-of-struct/89458 "2022-10-28T17:34:39Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [October 28, 2022, 5:46pm UTC](https://discourse.julialang.org/t/method-of-struct/89458/3 "2022-10-28T17:46:05Z")

</div>

You can read this long, and still active, thread on the subject:

> [@Allowing the object.method(args...) syntax as an alias for method(object, args ...)](https://discourse.julialang.org/t/allowing-the-object-method-args-syntax-as-an-alias-for-method-object-args/62051):
>
> I started exploring Julia very recently and I like it. I’ve been chatting about it with colleagues. Many people coming from OOP languages (Python…) like the syntax object.method(a,b,c…). Since you can get a preview of the available methods acting on object with tab press. Would it be possible to have that in Julia (I’m assuming it’s not already there) to improve usability? Let say I define a IIR filter struct mutable struct IIRfilter state; alpha; IIRfilter(state,alpha) = 0\<=alpha\<=1 ? …

But the short answer is that the exact thing you suggest will not happen. Perhaps some improved piping syntax is possible.

---

_[View the full topic](https://discourse.julialang.org/t/method-of-struct/89458)._
