User bio
404 bio not found
Member since Dec 9, 2015
Replies:

One out-of-date statement:

The most convenient way of working with ObjectScript code with direct access to the Caché DBMS server (and the InterSystems IRIS platform as well) is to use the Atelier IDE based on Eclipse. All download and installation instructions can be found here.

Atelier is deprecated and that link doesn't work anymore. Use VS Code with the ObjectScript Extension Pack instead https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_install

With all due respect, Python, C#, Java, Rust, and other languages also allow multiple commands on the same line just like ObjectScript does. I see that Go doesn't allow this.

ObjectScript simply evaluates expressions (arithmetic and logical) strictly left-to-right. Using parentheses gives you control, and has the added benefit of making a complex expression easier to read for other developers. Would you ever write this in any language?

if a = 3 && b = 4 && c = 5 || d = 6 {write "succeeded"} else {write "failed"}

No. You'd write it like this:

if (a = 3) && (b = 4) && ((c = 5) || (d = 6)) {write "succeeded"} else {write "failed"}

Open Exchange applications:
Certifications & Credly badges:
Joel has no Certifications & Credly badges yet.
Followers:
Following:
Joel has not followed anybody yet.