home bbs files messages ]

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

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

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

   Message 134,312 of 135,536   
   rbowman to Chris Ahlstrom   
   Re: C structure portability, naughty Pyt   
   03 Jan 26 19:43:02   
   
   XPost: alt.folklore.computers   
   From: bowman@montana.com   
      
   On Sat, 3 Jan 2026 07:03:38 -0500, Chris Ahlstrom wrote:   
      
   > I once created an audio playback app with class hierarchies in C, rather   
   > than C++. It was an interesting experiment, and it worked. But that's   
   > the last time I tried that.   
      
   A class is a glorified struct. I remember heated discussions at one of the   
   Boston Computer Society's meeting before 'C++' became a name about 'C with   
   Classes' and whether a new language was needed.   
      
   'C with Classes' is now a derogatory term that describes the sort of C++ I   
   write. Charles Petzhold has written a number of books on programming for   
   Windows. He has an intense dislike for C++ so if you can track down some   
   of the first editions of 'Programming Windows' they are all C. The 6th   
   edition was C# which he said was what should have been all along.   
      
   The C approach was educational since it exposed some of the magic lke   
   vtables, and the magical 'this' is only another parameter passed in the   
   first location.   
      
   --- 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