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 Will not implement
Categories InterSystems IRIS
Created by Evgeny Shvarov
Created on May 3, 2023

Add legitimate special symbol-separator for ObjectScript variable names

If I have a meaningful variable in languages like Python it is very convenient to use _ as a word separator. E.g.

this_is_an_sql_that_causes_an_error="SELECT * FROM TABLE"


in IRIS there are no special symbols allowed as separators. So the variable looks as:

thisisansqlthatcausesanerror="SELECT * FROM TABLE"


Of course we can use Camel:

thisIsAnSQLThatCausesAnError="SELECT * FROM TABLE" - it increases readability, but not very much. And it is easier to mis the case and variables are case sensitive in IRIS.


Let's introduce "-" as legitimate symbol for vars names? So this will be:

this-is-an-sql-variable-that-causes-an-error="SELECT * FROM TABLE"


  • ADMIN RESPONSE
    May 4, 2023

    Thank you for submitting the idea. Based on information from our experts the status of your idea was changed to "Will not implement". Please look for details in the comments on the idea. Good luck!

  • Dmitry Maslennikov
    Reply
    |
    May 4, 2023

    definitely not "-" it is a minus sign you can't use it as a part of a variable

    and underscore unfortunately already taken as a concatenation symbol

    So, looks like there are no symbols left