Skip to Main Content
InterSystems Ideas
We love hearing from our users. Tell us what you want to see next and upvote ideas from the community.
* Bugs and troubleshooting should as usual go through InterSystems support.
Status Ideas Contest
Categories InterSystems IRIS
Created by Evgeny Shvarov
Created on Sep 15, 2022

Simplify classnames calls in ObjectScript

Currently everyone use ##class(classname).methodname() to call it.

e.g.

do ##class(Sample).ClassMethod()

This is one of the painful moments about ObjectScript for developers.

Can we introduce a parallel support of more simplified way, as:

#classname.methodname()

so this will be:

do #Sample.ClassMethod()


The idea is that # is a differentiator classmethod from instance method.

and there will be no more ##class() overtyping.

previous approach will be supported as it were.





  • ADMIN RESPONSE
    May 9, 2025

    Thank you for submitting an idea for the Ideas contest. The status changed to "Ideas Contest".

    Please answer the experts' clarifying questions, if any, during the contest and voting period.