Re: Thou shalt have no other gods before the ANSI C standard

From: Brian Inglis (Brian.Inglis_at_SystematicSW.Invalid)
Date: 02/18/05


Date: Fri, 18 Feb 2005 18:06:38 GMT

On Fri, 18 Feb 2005 02:39:19 -0500 in alt.folklore.computers, "Douglas
A. Gwyn" <DAGwyn@null.net> wrote:

>David Wagner wrote:
>> ... Not sure how that translates to a reason to be against (or
>> for) ABC.
>
>Maybe the point was that ABC is useless when the code
>manages its buffers in a better manner.

Exactly: it only does what the programmer *should* do with an
inflexible approach; with a more flexible approach, the programmer
*has* to do everything right just to get it to work.
When dealing with collections of data from a database, I just use a
database row get module with a dynamic array (of structs) module; when
dealing with external texts, I use a dynamic string module; when
dealing with fixed buffers, I use a fixed buffer module; and I always
check return codes and generate messages, using a message module,
whose return codes I also check, and treat as locally fatal errors.

-- 
Thanks. Take care, Brian Inglis 	Calgary, Alberta, Canada
Brian.Inglis@CSi.com 	(Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
    fake address		use address above to reply


Relevant Pages

  • Re: Looking up a value within a range of 3 letter or number codes
    ... correct West or East designation if I were looking for the code "500". ... if the formula was looking in the range for the code "ABC" and it ... Any thoughts on how to make the formula work with both 3 character codes ... if whatever is in the cell B3 is ...
    (microsoft.public.excel.worksheet.functions)
  • Re: A question about the Count/CountIf function
    ... the amount of times that they appear in that specific column. ... So I have one column with codes in (e.g. ABC and DEF) and I ... amount of times that ABC appears when it weighs less than 1.0 and is ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Someone explain me this code
    ... In header file, I see this declaration: ... then, in C file, there are below codes: ... typedef struct _Abc { ... as opposed to dispatch invocation) for COM objects written in C. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: WHAT SITUATION I NEED A BUFFER
    ... I am not reading a vhdl netlist. ... codes. ... Or we actually don't need to care these buffers at all. ... Mike Treseler wrote: ...
    (comp.arch.fpga)
  • Re: A97 - Modify Structure of Secure mdb
    ... dim sUsername as string ... const sUsername = "ABC" ... The chr$ codes above are probably wrong, ...
    (microsoft.public.access.security)