Archived

This topic is now archived and is closed to further replies.

Memorizing code?

This topic is 5819 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wanted to see how many people actually memorize Windows programming syntax. (DirectX, OpenGl, Win32) Do you learn the concepts, and then keep a shell laying around that you can paste, or do you know it so well that you could write a Windows program from scratch? Im thinking I can get by with learning the concepts, and not memorizing every damn function and aspect of Windows programming. What is everyone elses take? Noods

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Experience, experience, experience No one memorizes it consciously... you simple learn by repetition.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You learn the concepts of course. To this day I still don''t remember if the FILE-argument of fread(...) goes first or last. Just get yourself a copy of the MSDN library and have that running in the background. That frees your mind for design work.

Share this post


Link to post
Share on other sites
Huh memorizing all that stuff bah.
Just creating a window takes 2 pages.They look better in a function

I''ll meet you in the next life,where we can be together.

Share this post


Link to post
Share on other sites
thats what references are for....

or you can dictate everything and have someone else write for you! ^^

i.e.

Dictator:Now give me some
Writer:right sir! writing
Dictator:No, dont write it!DO IT!




P.S.VOTE FOR ME!

"Those who serve no purpose, have no purpose. SSC the Super Saiyan Cat"

Share this post


Link to post
Share on other sites
When it comes to DirectX and Windows functions it''s typically cut and paste since I don''t use it enough to memorize it yet. Most of my time is spent doing actual game related coding.

Ben

Share this post


Link to post
Share on other sites
Back when I used to use MFC, I memorized how to set up an MFC app from scratch... Even though the Win32 API is a lot simpler, you don''t really need to learn it. Just copy and paste it from your previous programs. Let it eveolve.

Share this post


Link to post
Share on other sites
What''s with all this copy and pasting stuff? I don''t think that''s what people mean when they talk about code reuse

Take the time to write a good set of general classes, or functions if you use C, and stop worrying about Win32 details, etc.


- Houdini

Share this post


Link to post
Share on other sites
Hi, when its comes to Win32 & stuff, the things I do the most like creating a window @ the start of the program or setting display mode in DirectX I create a program which uses fstream & streams the code to the cpp & h files in my project. The program gives me choices along the way like creating diffrent mouse cursors or choosing from file , it also helps me choose create a menu & dlg just by answering questions. If you intrested in it go to planet-source-code.com & search for Win32 creater

hope this helps WizHarD

Share this post


Link to post
Share on other sites
i can remember what i need to do and what order, but no one can be expected to know the syntax of every win32 api function, hence why we have references

Share this post


Link to post
Share on other sites