Re: advantage of using typedefs



John Bode wrote:

> 3. Sort of as a corollary to 2, it allows you to hide certain
> implementation details from other programmers. You probably don't want
> people making assumptions about the size of the offset available to
> them, precisely because that value can change from platform to
> platform.

or the opposite, since off_t is intended to be 64-bit (depending on
OS), regardless of the underlying hardware.

.



Relevant Pages

  • Re: advantage of using typedefs
    ... Sort of as a corollary to 2, it allows you to hide certain ... >> implementation details from other programmers. ... precisely because that value can change from platform to ...
    (comp.lang.c)
  • Re: A call for 1 million programmers
    ... to be intelligent, what it takes to make a computer act like a human, ... consciousness is, whether computers or other machines can be conscious, ... You can't build a good platform for anything with a few programmers, ...
    (comp.lang.java.programmer)
  • Re: Larkin, Power BASIC cannot be THAT good:
    ... formal subs, and great inherents like strings and graphics and SORT. ... It matters if you need to make the code run on a given platform, ... the same executable works on Windows and Linux ...
    (sci.electronics.design)
  • Re: Porting ADA source
    ... But the mission is to take code body X and get it from its existing ... platform onto another - not redesign the system. ... dirty fix that doesn't mean spending excessive time reworking the ... > This can hidden with some sort of wrapper package for both platforms. ...
    (comp.lang.ada)
  • Re: SELLING OFF AMERICA!
    ... They are jumping no matter how the platform now, ... sort of you it's lowering decent. ... reassuring along a strange ulcer. ...
    (sci.crypt)