From mboxrd@z Thu Jan 1 00:00:00 1970 From: rminnich@gmail.com (ron minnich) Date: Mon, 09 Jan 2017 15:59:00 +0000 Subject: [TUHS] Unix stories, Stephen Bourne and IF-FI in C code In-Reply-To: <201701091545.v09FjlXE027448@freefriends.org> References: <1483929007.6355.for-standards-violators@oclsc.org> <934ec8dea21ce728b7c4e70a6ee2deb86af39d27@webmail.yaccman.com> <201701091545.v09FjlXE027448@freefriends.org> Message-ID: On Mon, Jan 9, 2017 at 7:47 AM wrote: > I remember the Bournegol well; I did some hacking on the BSD shell. > > In general, it wasn't too unusual for people from Pascal backgrounds to > do similar things, e.g. > > #define repeat do { > #define until(cond) } while (! (cond)) > *was* not unusual? This kind of stuff is still everywhere. In fact there's probably more of it each month. It seems to be especially popular in "high level" languages like C++ but you see tons of it in kernels too. Some of the worst cpp abuse I've seen is in C++ in fact. One reason I'm glad Go has no preprocessor. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: