F
fogh
Guest
also when the method is for a system class (like number, string ...)
I really wonder
I really wonder
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Not really, let 's say that I actually know the classes already, and thatalso when the method is for a system class (like number, string ...)
I really wonder
I have a little macro which uses a private function to do this, and also
discovered that there is already a private function which is pretty close.
One of my colleagues filed this enhancement PCR:
PCR: 765646
Title: need to get methods from a generic function
When you say "enumerate" what do you mean? Do you mean that you want to find
the names of the classes which have methods for the specified generic
function?
not like so much the asi.*Error methods, and I would like to see what they areAlso, what do you want this for? Good practical reasons always help influence
the likelihood of this being implemented. That said, the implementation is
mainly a case of providing a public wrapper or alias for the internal function
(it is not named appropriately for a public function), and the documentation
effort.
I want this so I can do very nasty things to oasis. I found lately that I do
So getmethod() will become public ?On Thu, 03 Feb 2005 00:22:05 -0500, fogh <adff@xs4all.nl> wrote:
also when the method is for a system class (like number, string ...)
I really wonder
I have a little macro which uses a private function to do this, and also
discovered that there is already a private function which is pretty close.
One of my colleagues filed this enhancement PCR:
PCR: 765646
Title: need to get methods from a generic function
When PDK or integrated simulator misbehaves and the client should notI think that's fairly unlikely, as it could limit our ability to change low
level implementation details. Also, it's questionable as to what you'd use
this for (legitimately).
Getting out of design trouble ?
Well, if reverse engineering someone else's IP which they have protected (orI think that's fairly unlikely, as it could limit our ability to change low
level implementation details. Also, it's questionable as to what you'd use
this for (legitimately).
Getting out of design trouble ?
When PDK or integrated simulator misbehaves and the client should not
care about this kind of thing but onloy deadlines, is it legitimate to
do a listdiff on oblist between before and after initialisation of PDK
(or simulator) ?
You are competent Andrew. Just illustrate for me where the line is and I
will take it as a golden rule.
Andrew,On Tue, 15 Feb 2005 00:44:02 +0100, fogh <adff_at@xs4all_dot.nl> wrote:
I think that's fairly unlikely, as it could limit our ability to change low
level implementation details. Also, it's questionable as to what you'd use
this for (legitimately).
Getting out of design trouble ?
When PDK or integrated simulator misbehaves and the client should not
care about this kind of thing but onloy deadlines, is it legitimate to
do a listdiff on oblist between before and after initialisation of PDK
(or simulator) ?
You are competent Andrew. Just illustrate for me where the line is and I
will take it as a golden rule.
Well, if reverse engineering someone else's IP which they have protected (or
at least obfuscated) by creating an context file is something you think is
ethical, then that's up to you...
You're relying on an implementation feature of the language, which we ought to
be free to change. If we document something like this, it rather limits our
options in the future.
Mostly the reason for SKILL API functions being public (and documented) are:
a) they are useful to customers
b) they are supportable
Private functions are private for the opposite reasons - often they don't do
enough checking, they require internal data structures, and they are part of
the low level implementation. Clearly we cannot ensure that all 50,000 odd
functions in DFII keep the same argument list and behaviour from release to
release, otherwise nothing would ever change. So a reasonable, practical,
subset should be public.
If there is a need for a public function for something that isn't there right
now, we can always ask for one. That said, I often see customers (not so often
the customers I deal with in Europe) asking for Cadence to provide a function
that can be written in a few lines of code, and often for something that is
rather specific to their needs. My objection here is - write your own library
functions! I have built up a collection over the years of functions that I
reuse over and over again, for things that do generally useful things, but I
wouldn't expect Cadence to provide them for me.
Sorry, I rather wandered off topic there, but just wanted to say it...
Actually my library of functions for doing various higher level things doesn'tIf we could not let some steam off, it wouldn t be a proper news feed
That is pretty much on-topic, and gives me part of the answer. You have
built over the years a library/API for your needs that relies on
features that are not garanteed to keep the same shape and flavour. And
you know they can be useful to customers, because they ask for such library.