Re: Programming Backwards (was Re: Top posting (a different point of view))
On Fri, 2005-06-10 at 23:25 -0400, Hubert Chan wrote: --snip-- I program randomly. Err. That's random as opposed to sequentially; not as in I bang random keys on my keyboard and hope for the best. ;-) /me envisions an infinite number of monkeys at an infinite number of typewriters sitting in a building in Redmond with an M$ logo on the front... :) I write one function, then jump to another function, then decide to change something in the first function, start a third function, ... I do the same thing, but most of my coding nowadays is OO, so that's kind of the norm. At least I think it is... maybe it's not and I'm a crazy backwards coder too... hmm... -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837 signature.asc Description: This is a digitally signed message part
Re: Programming Backwards (was Re: Top posting (a different point of view))
On Sun, Jun 12, 2005 at 11:26:47AM -0500, Alex Malinovich wrote: /me envisions an infinite number of monkeys at an infinite number of typewriters sitting in a building in Redmond with an M$ logo on the front... :) Well, infinite is probably a little on the high side, but... -- David Jardine Running Debian GNU/Linux and loving every minute of it. -L. von Sacher-M.(1835-1895) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Programming Backwards (was Re: Top posting (a different point of view))
On Fri, 10 Jun 2005 22:51:51 -0400, you wrote: %On 6/10/05, John Kelly [EMAIL PROTECTED] wrote: % % Would you write programs backwards? I would hate to write a backwards % compiler to compile your backwards programs. % %Doesn't everyone write their programs backwards? Don't you _start_ at the end? % %I guess it depends on what you mean by backwards, but I think I do %actually write my programs backwards .. from how it will look to the %enduser. One of the problems with _lots_ of programs out there is %that they're _not _ written backwards in that sense. Well, I find that most C programs nowadays are written backwards : main() on top and functions below. Having learned C from KR, that's backwards for me. But the point is : I put up with it. No whining and no expectations that everyone will want to follow my preferences. Tolerance, dude. There's too much intolerance out there in the world today already. Ben
Re: Programming Backwards (was Re: Top posting (a different point of view))
Ben wrote: Well, I find that most C programs nowadays are written backwards : main() on top and functions below. Having learned C from KR, that's backwards for me. But the point is : I put up with it. No whining and no expectations that everyone will want to follow my preferences. Tolerance, dude. There's too much intolerance out there in the world today already. Ben, blind tolerance is not always a good thing(tm). For example, I am very intolerant of the killing of innocent men, women and children by our military in foreign counties. I see no reason to tolerate the chicken-hawks who lied us into war and see dead kids as a necessary part of our safety. No, blind tolerance is not good. -- Joe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Programming Backwards (was Re: Top posting (a different point of view))
On Fri, 10 Jun 2005 22:51:51 -0400, Patrick Wiseman [EMAIL PROTECTED] wrote: I would hate to write a backwards compiler to compile your backwards programs. I think I do actually write my programs backwards .. from how it will look to the enduser. That's top down development vs. bottom up development. Using top down development, you never have any working code. Using bottom up development, you never solve the problem. -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Programming Backwards (was Re: Top posting (a different point of view))
On Sat, 11 Jun 2005 18:51:18 -0400 John Kelly [EMAIL PROTECTED] wrote: I think I do actually write my programs backwards .. from how it will look to the enduser. That's top down development vs. bottom up development. Using top down development, you never have any working code. Using bottom up development, you never solve the problem. Then there's this: Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan Cybe R. Wizard -- Q: What's the difference between MicroSoft Windows and a virus? A: Apart from the fact that viruses are supported by their authors, use optimized, small code and usually perform well, none. Winduhs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Programming Backwards (was Re: Top posting (a different point of view))
On 6/10/05, John Kelly [EMAIL PROTECTED] wrote: Would you write programs backwards? I would hate to write a backwards compiler to compile your backwards programs. Doesn't everyone write their programs backwards? Don't you _start_ at the end? I guess it depends on what you mean by backwards, but I think I do actually write my programs backwards .. from how it will look to the enduser. One of the problems with _lots_ of programs out there is that they're _not _ written backwards in that sense. Then again, I do have a tendency to read Dr. Dobb's Journal from Swaine's Flames to the front! Patrick
Re: Programming Backwards (was Re: Top posting (a different point of view))
On Fri, 10 Jun 2005 22:51:51 -0400, Patrick Wiseman [EMAIL PROTECTED] said: On 6/10/05, John Kelly [EMAIL PROTECTED] wrote: Would you write programs backwards? I would hate to write a backwards compiler to compile your backwards programs. Doesn't everyone write their programs backwards? Don't you _start_ at the end? I program randomly. Err. That's random as opposed to sequentially; not as in I bang random keys on my keyboard and hope for the best. ;-) I write one function, then jump to another function, then decide to change something in the first function, start a third function, ... It's also how I generally write emails. Write one paragraph, start writing the next paragraph, change something in the first paragraph, add something between the paragraphs, ... Maybe I have attention deficit dissor... Oh, look, a bird! However, how I *write* programs or emails is different from how I *present* them. Even though they are written randomly, they are presented in a (hopefully) well laid out, sequential manner; I don't have random thoughts scattered all over the place. I would not expect anyone to be able to follow my emails if they read them in the order that I wrote them. [...] Then again, I do have a tendency to read Dr. Dobb's Journal from Swaine's Flames to the front! Yeah, I do that too sometimes with various publications. Then again, since most of the articles stand on their own, it doesn't really matter what order you read them in. -- Hubert Chan [EMAIL PROTECTED] - http://www.uhoreg.ca/ PGP/GnuPG key: 1024D/124B61FA Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA Key available at wwwkeys.pgp.net. Encrypted e-mail preferred. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]