ID:190413
![]() Jan 26 2003, 1:21 am
|
|
Have you ever coded in pen?Like on paper when your without your comp or at school?I've did it at school.Too bad you can't give it to the teacher and see complies it and checks it for errors.The only teacher that could do that is dan/tom or Lummox(IN MY OPINION)
|
No, I think he means actually writing out code on paper. I used to do it for Commodore BASIC and QBASIC. Could do most of the execution in my head too.
Now I just do flow charting, and jot down related code snippetsand notes to try next to each chart object. Then I code direct from that usually, plus whatever I can remember or use from the references I use. |
Yeah, I've done it for Qbasic, I could pretty much debug it in my head as well, of course I'd get an error now and then, but that happens with, or without a compiler.
|
I do it on break at work all the time. I don't have a laptop, so I scribble code snippets into a notebook, than transfer them to the computer when I get home.
|
On occasion I'll write code longhand, but more often I'll print out existing code and mark up all the places where it could be improved. Typically I make a printout with the printer set to two or even four sheets-per-page; it saves paper and helps give me a "big picture" of the code.
|
You mean pseudocode? I hate it. I avoid it like the plague... and yes, I have been forced to use it on occasion. >( I like it a lot, actually. Sure, it adds a little overhead to getting started, but when the time comes to write the actual code, I think it makes up for it by saving much more time. I wrote most of DMT in pseudocode before actually starting the implementation, and it ended up being one of the fastest and most bug-free projects I've done. I also find that as I become a better programmer, I break my code down into smaller and smaller procs with longer and longer names. Just taking the time to plan that out ends up being a pretty useful form of pseudocode in itself. Granted, more proc calls adds more overhead to processing time, but 99% of the time it's not even noticeable. And you can always optimize for speed once you have a running project. I will admit it's frustrating to use pseudocode when I have a cool idea and I want to see it running right now, but again, the time lost to writing pseudocode is mostly illusionary when I factor in how much time it saves me in implementation. |
Siientx wrote:
Have you ever coded in pen?Like on paper when your without your comp or at school?I've did it at school.Too bad you can't give it to the teacher and see complies it and checks it for errors.The only teacher that could do that is dan/tom or Lummox(IN MY OPINION) I've written code on paper before, although I use pencils because you can erase. Sometimes this is helpful. A lot more often I'll write up code for something in a simple text file, which is a similar concept except that at the end of the day you can copy and paste, which saves oodles of time. Even if I can't get it to work there, I can get a very good idea how to get started and often have most of a working routine before programming it into something. In fact all of my Dream Tutor code is written this way. I write the code as I write the article, then test it before publication. Lummox JR |
I like it a lot, actually. Sure, it adds a little overhead to getting started, but when the time comes to write the actual code, I think it makes up for it by saving much more time. I wrote most of DMT in pseudocode before actually starting the implementation, and it ended up being one of the fastest and most bug-free projects I've done. In my case, pseudocode often helps give me a stable grounding to solve a problem that can't be solved by immediately jumping into the code (most problems in DM are simple enough to code from scratch) -- for example, one of my more recent challenges was determining how to make an archival system for the news on my webpage. I tried starting into the code, but wound up restarting it twice. I then scrapped all of the code, broke out the pen and paper, wrote down an algorithm, then implemented it. Haven't seen any problems. |
Lummox JR wrote:
Siientx wrote: Ditto. Just about every one of my 50-some-odd snippets (which should be released some day *smacks himself*) was written with a pencil, vinyl eraser, and a 250-page notebook (not each, of course). |
Im seriously considering moving close to the greater area where most of the community of BYOND lives.
|
I have no freekin idea.
The idea would be to somehow make these people tell where they live and then one day meet them offline. I tell ya, Lesbian Assassin will take a different perspective of me, Im not the jackass that I make myself seem |
naw, hold it in the US >:)
______________________________ **********____________________| **********____________________| **********____________________| **********____________________| ______________________________| ______________________________| ______________________________| |
You seem to be ignoring the minority here, Me and Mellifluous plus a few others. We sure outweigh the American numbers
|
Gah!
Oh well, I'l find my way over there. Just so I can slap someone... Not too sure who yet, but im sure I will feel the inspiration once there. |
I'm sure there are many programming gurus out there who can "compile" something in their head. :-)