Product blank

Introducing Session Singletons

Singletons have been one of the standout features of 4D 20 R5. Previously, developers could leverage two types of singletons:

  • the process singleton, which is unique to each process but different across processes,
  • and the shared singleton, which is unique across the whole application.

With 4D 20 R7, we are releasing a new type of singleton: the session singleton!

Product blank

Easy Reference Comparison of Objects & Collections

Objects have become an essential part of the 4D language and of Qodly.

But when you declare a variable of this type, you define a reference. So, how do you know if two objects are, in fact, just one and share the same reference?

Starting with 4D 20 R6, comparing object references is simple: enter the = and # operators!

This blog post explores these operators and how they help determine if objects share the same reference. Let’s find out more!