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 Future consideration
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.


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:


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.

    Jan 26, 2023

    Thank you for submitting the idea. The status has been changed to "future consideration".

    Stay tuned!