- Log in to post comments
IRIS/Caché Analyst-Developer, graduated in Business Administration and degree in Mathematics, postgraduate degree in Strategic Planning and Business Management, and Master of Science in Business Administration.
This is due to the procedural execution format, as COS allows several commands to be placed sequentially on the same line, so COS is executed strictly from left to right, command by command, unlike an interpreted language which executes line by line.
- Log in to post comments
Within an ObjectScript structure, direct access via globals - although no longer very common - is very fast, and especially useful when you have a very large number of subscripts for the same node, and you only want to know the value of the last subscript, in which case you can simply read using the reverse $Order (equivalent to ORDER BY ... DESC or MAX(), however, without needing to construct an SQL read method), especially if you have a mapped class.
- Log in to post comments
It's great to hear praise for ObjectScript coming from a Python "native"... :)
I liked your comparison between Functional and OOP; I've also had situations where direct functional access to data performed better than an SQL query.