JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Enumeration (enums)

In Jade we often have integer constants that are merely used as a unique identifier. e.g.

CustomerType_Personal = 1; CustomerType_Prospect = 2; CustomerType_Business = 3.

 

If we have a value to add we require to sort constant values by number, then add 1 to the latest one. Which leaves a bit reliance on human eyes being fresh, especially when there is a class with hundreds of constants. I recall adding a  value of over 1100 the other day.

 

Most 3GLs handle this using enumerations. You specify a group and then add in the constant names without a value, or define the first value if required. Google search enum for more information.

 

Can enumerations be made available in Jade?

  • Guest
  • Aug 8 2019
  • Future consideration: 2022
  • Attach files
  • John Munro commented
    9 Aug, 2019 10:17am

    This was suggested as JAD-I-81