Path: utzoo!mnetor!uunet!husc6!uwvax!rutgers!sunybcs!ugfailau From: ugfailau@sunybcs.uucp (Fai Lau) Newsgroups: comp.lang.c Subject: Re: A bad design decision early on in A Message-ID: <7611@sunybcs.UUCP> Date: 3 Jan 88 17:35:06 GMT References: <1322@sugar.UUCP> <47000028@uxe.cso.uiuc.edu> Sender: nobody@sunybcs.UUCP Reply-To: ugfailau@joey.UUCP (Fai Lau) Organization: SUNY/Buffalo Computer Science Lines: 22 In article <47000028@uxe.cso.uiuc.edu> mcdonald@uxe.cso.uiuc.edu writes: > >Data hiding is the worst idea ever invented. I really hate it when I find >something declared as a "time_t", or , worse, those awful structures ........ > >time_t itself is a rather ok idea, and I think one should be able to pass >structures. What I object to is the actual "hiding" of the definition >(in the sense of making it hard to find - it's usually in some 50 kilobyte >header file that bogs down the compilation of every program that uses it.) > I'll have to agree. If you have really settled in doing your works in C, then you can't be too concerned about using things like data hiding for its own sake. C is such a unstructured language that the best way to use it is to use it in any which way it works. C structure passing isn't the worse that can be. Module-2 is so must worse. Fai Lau SUNY at Buffalo (The Arctic Wonderland) UU: ..{rutgers,ames}!sunybcs!ugfailau BI: ugfailau@sunybcs INT: ugfailau@cs.buffalo.EDU