![](smile.gif)
poll: your memory for programming stuff
How good is your memory, when it comes to remembering things like specific function names, parameters, etc...
For example, could you write an entire windows program from memory, initializing all the structures to create a window, displaying it, etc...
I find that I have a hard time remembering specific details of functions, and I don''t even attempt to remember all the details of functions/structures with many parameters. Luckily, inline autocomplete is a big help
-arsenius
''after three days without programming, life becomes meaningless'' -The Tao of Programming
![](smile.gif)
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
I don''t even try. Hell I forget the syntax even for functions I write myself (grin). Of course I do alot of copy and paste programming too for that very reason
DSutherland
DSutherland
May 13, 2001 10:47 AM
I remember a lot, but then I''ve always had a good memory. Not good enough to write a an entire Winblows program from memory. Not yet at least...
May 13, 2001 01:39 PM
The C/C++ syntax for stuff is about all I can remember, my memory basicly sucks. I usualy have a few help screens running in the background of vc++ to look thing up. Maybe I should try tyo remember more stuff, could save me some time...
quote:
could you write an entire windows program from memory, initializing all the structures to create a window, displaying it, etc...
quote:
Of course I do alot of copy and paste programming too for that very reason.
You should never be have to remember how to initialize and display a window. You also should never have to copy/paste code. If you ever do then an alarm should go off in your head telling you that particular code should be more modularized for reuse.
As far as remembering the Win32 API, I don''t know it real well. But that is because I wrote my wrapper classes that do all of the Win32 API work for me. No need to write code more than once.
- Houdini
- Houdini
the windows program was just an example
what about other stuff, like DX, and the nifty ios functions & flags & so forth.
-arsenius
''after three days without programming, life becomes meaningless'' -The Tao of Programming
what about other stuff, like DX, and the nifty ios functions & flags & so forth.
-arsenius
''after three days without programming, life becomes meaningless'' -The Tao of Programming
May 13, 2001 04:28 PM
Absolutely nonsense.
I don''t really think "function paramenters / structures definitions / and so on" memory makes *THE* difference.
I don''t really think "function paramenters / structures definitions / and so on" memory makes *THE* difference.
Houdini is right of course.
Modularizing useful code out into resuseable classes is the way to go.
But sometimes it isn''t that much code I want to reuse - just a snippet of a couple of lines that I want.
An example is the loop for iterating through an stl list. Super easy - it''s not like I *can''t* remember the proper syntax - but I almost always go and grab the piece from a previous project just because it takes less time.
I have toyed around with creating a little app like the classwizard that has a bunch of buttons and will insert little code fragments here and there. Never have gotten around to it though. Could be really a cool thing to speed development if I would do it.
Douglas Sutherland
Modularizing useful code out into resuseable classes is the way to go.
But sometimes it isn''t that much code I want to reuse - just a snippet of a couple of lines that I want.
An example is the loop for iterating through an stl list. Super easy - it''s not like I *can''t* remember the proper syntax - but I almost always go and grab the piece from a previous project just because it takes less time.
I have toyed around with creating a little app like the classwizard that has a bunch of buttons and will insert little code fragments here and there. Never have gotten around to it though. Could be really a cool thing to speed development if I would do it.
Douglas Sutherland
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement