I have classes A and B, B derived from A, A has method Abc.
From INT of class B I see that compiler copies implementation of Abc to class B, so that Abc exists both in A and B.
As result, when B invokes Abs, B.Abs() is executed instead of A.Abs(). In result debuger is not able to step into Abs and breakpoints in A.Abs never hit.
Why this happens and how can I avoid this?
Update:
OK, now I know the reason: compiler makes the copy if Abc has this line:
The topic of for/while loop performance in Caché ObjectScript came up in discussion recently, and I'd like to share some thoughts/best practices with the rest of the community. While this is a basic topic in itself, it's easy to overlook the performance implications of otherwise-reasonable approaches.
How was your READY experience? We’ve prepared a bingo card — take a look and see how many boxes you can check off! Cross off the ones that match your experience or list them in the comments. And if something memorable happened that’s not on the card — we’d love to hear about it! ✨
Let's have another round of code golf, with a different signature today!
Write a classmethod that will receive a variable number of parameters containing comma-separated strings and/or positive numbers, and returns one of four possible string values.