Hello everyone,

I am writing a keyword hook, C::Blocks. I have realized that my hook could
be made more powerful if I could indicate optional type information for
variables.

Question 1: Perl has support for declaring a variable's type, but it is
intended to be used with the fields pragma. I get the impression that this
is rarely used and I want to use it for something entirely different. Can
anybody see a problem with this?

Question 2: I want to keep the class names for the type system relatively
short. Can anyone think of problems for names such as:

 C::double_t
 C::int_t
 C::IV_t

etc?

Thanks!
David

-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

Reply via email to