home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!dkeisen
- From: dkeisen@leland.Stanford.EDU (Dave Eisen)
- Subject: Re: Memory functions - memcpy & memmove
- Message-ID: <1992Nov9.063856.341@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Sequoia Peripherals, Inc.
- References: <1992Nov8.225440.6545@sq.sq.com> <BxFKAw.1A5@portal.hq.videocart.com>
- Date: Mon, 9 Nov 92 06:38:56 GMT
- Lines: 51
-
- In article <BxFKAw.1A5@portal.hq.videocart.com> dfuller@portal.hq.videocart.com (Dave Fuller) writes:
- >I've said it before. I could really not give a shit if the code isn't
- >perfect. I don't get paid to do this, and i try to answer a lot of the
- >questions. If someone wants more than a signed int of chars moved, then
- >change the code. I only want to see replys when the code is just flat
- >out WRONG.
-
- Last I checked, I don't get paid for this either. And I for one
- want to see replies if they clear up another post or point out
- small problems with another post.
-
- Clearly wrong solutions are not really a problem. The inexperienced
- programmer who posted the question will try them out, find that they
- don't work, and hopefully look to another source for the answer.
-
- It's the almost correct solutions that are the most dangerous because
- they will not immediately blow up in the beginners face; they will
- only cause mysterious problems when the code is ported to a different
- environment or if it is compiled with the next release of the compiler
- or if it is just pushed to the limits with unusual cases. By the time
- this happens, the programmer is forced to go through 50,000 lines of
- code to find the obscure problem he never should have had in the first
- place.
-
- Besides, I don't have much of a stake in whether a given programmer
- gets a solution to his problem from the net. If he doesn't, I'm sure
- he'll muddle through somehow. What I *do* have a stake in is the
- general level of correctness in the code written by the C community.
- And that means I don't like seeing sort of almost correct code
- posted here.
-
- >second, why the hell would it even need to match the ansi code for
- >memmove. this isnt even called memmove. it was designed to take the
- >place of it where it didn't exist yet. Therefore, there isnt a damn
- >standard to follow. so someone needs to cast (char *) to call this.
- >I couldn't care less. don't like it, change it. but it works, so
- >please quit giving me some B.S. style guide lessons.
-
- They aren't giving *you* a "B.S. style guide lesson." They are trying
- to give the entire net a "B.S. style guide lesson", if that's how you
- want to see their (and my) posts. We're trying to help people write
- more correct code. If you don't want to be helped, feel free to ignore
- any followups to your articles. Including this one.
-
-
-
- --
- Dave Eisen Sequoia Peripherals: (415) 967-5644
- dkeisen@leland.Stanford.EDU Home: (415) 321-5154
- There's something in my library to offend everybody.
- --- Washington Coalition Against Censorship
-