Re: Suffix _T for types found good



amado.alves@xxxxxxxxx wrote:

Regarding "_T" vs. "_Type" I am convinced the former is better but I
have to leave the advocacy for later. Or for others ;-)

Personally I prefer _Type. Yes it is more verbose but it follows the convention of using fully spelled out words for things. For access types I have used _Pointer. As in

type Integer_Pointer is access all Integer;

It mostly seems to work for me.
.



Relevant Pages

  • Re: [Revisited] How to get around "access type must not be outside generic unit"
    ... It interfaces GTK+ ... pragma Convention; ... These are named access types, ...
    (comp.lang.ada)
  • Re: Suffix _T for types found good
    ... Yes it is more verbose but it follows the ... convention of using fully spelled out words for things. ... For access types I ... packages had a consistent feel. ...
    (comp.lang.ada)
  • Re: Suffix _T for types found good
    ... Yes it is more verbose but it follows the ... For access types I ... have used _Pointer. ... For years the convention at work was to ...
    (comp.lang.ada)
  • Re: [announcement] SYSAPI and SYSSVC for Windows
    ... including access types, ... the pointer before it causes trouble, just like in C or C++. ... I actually don't like implicit dereference at all, ... Following a pointer and selecting a record ...
    (comp.lang.ada)
  • Re: Strange factory for wxAda
    ... doesn't own the C++ pointer - because it wasn't created there. ... I wasn't sure if it had some kind of protection on it like some ... So, I can copy the access types, but not ... never actually "new" an wxAda type because it doesn't make sense to. ...
    (comp.lang.ada)