Re: Suffix _T for types found good



Colin Paul Gloster <Colin_Paul_Gloster@xxxxxxx> writes:
index : anIndex;
buffer : aBuffer;

This is backwards to me:

anIndex : Index;
aBuffer : Buffer;

E.g. the value is a specific instance vs the type is general. The names should
reflect that.

--
Cheers, The Rhythm is around me,
The Rhythm has control.
Ray Blaak The Rhythm is inside me,
rAYblaaK@xxxxxxxxxxxxxxxxxx The Rhythm has my soul.
.



Relevant Pages

  • Re: Completely confused. Please send help. :)
    ... itoahas its own buffer to accomplish this and then I copy the result into the buffer* passed in via a simple "rep movsb". ... I see an implementation in K&R that generates the characters "backwards" and then calls "reverse" to swap 'em in place. ... Another option is to push 'em on the stack as you get 'em, then pop 'em off and either print them or store them in the destination buffer. ... I've seen implementations that ran through the "div loop" twice - once just to count the digits, and again to put 'em in the buffer! ...
    (comp.lang.asm.x86)
  • Re: I pee in the open
    ... pipelines don't like to be rewound [read backwards] which ... some scanf() might do. ... via the 'exit code' value rather than via stdin/stdout as it ... function to interpret what might be in that buffer. ...
    (alt.lang.asm)
  • Re: Solutions for the Kernighan and Ritchie
    ... I started with the getop() function p78 of my 2nd edition book (41st ... and there is no buffer size ). ... K&R getop takes a char * and an int. ... I can't imagine why they'd go backwards, but it solves the mystery of ...
    (comp.lang.c)
  • Re: StringBuffer java.lang.OutOfMemoryError
    ... It has to copy the n following characters the appropriate distance up the array (backwards). ... It will therefore take a length of time roughly proportional to the length of the buffer. ...
    (comp.lang.java.help)
  • Re: StringBuffer java.lang.OutOfMemoryError
    ... Thomas Hawtin writes: ... the array (backwards). ... proportional to the length of the buffer. ...
    (comp.lang.java.help)