home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,430 of 243,242   
   Janis Papanagnou to Kaz Kylheku   
   Re: is_binary_file()   
   12 Dec 25 02:19:17   
   
   From: janis_papanagnou+ng@hotmail.com   
      
   On 2025-12-11 18:33, Kaz Kylheku wrote:   
   > On 2025-12-06, Michael Sanders  wrote:   
   >> Am I close? Missing anything you'd consider to be (or not) needed?   
   >   
   > Hi Michael,   
   >   
   > I contract for the the defense industry and badly need this function!   
   >   
   > I am working with proposed code like:   
   >   
   >    if (is_binary_file(arg))   
   >      launch_nuclear_strike();   
      
         else   
           negotiate_peace_conditions(arg);   
      
   I think it's a waste of information to identify some 'arg' as text   
   and not assume it to be a negotiation proposal for peace treaties!   
      
   Or would that be considered just unnecessary feature creep? - Just   
   bloating the code and having negative impact on runtime performance?   
   (A few milliseconds could certainly make a difference here between   
   victory or defeat!)   
      
   >   
   > [...]   
   >   
   > In the I/O error case, I will cautiously return a a true value; we would   
   > not want our side to lose due to a storage hardware issue.   
      
   A very considerate decision. Kudos!   
      
   Janis   
      
   LOL - you made my day, Kaz!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca