Jump to content
  • Advertisement

Archived

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

tenchimusakiryoko

A Question That Has Plagues My Programming...

This topic is 5829 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

Hello everyone, I have 1 question for you and it will help me sooooo much. How much is a programmer supposed to memorize? No one has ever told me this. When I got TOTWGG, I memorized the windows init code so i could make a window. What is a programmer supposed to do? Memorize everything before they move on? Or understand it and memorize it as they use it through programming experience. Any styles you all have would be greatly appreciated. Thanks a lot for any replies.

Share this post


Link to post
Share on other sites
Advertisement
For me, I only memorize enough so that I can know where and how to look it up. I use help files in C++ for nearly everything, but you use it less and less as you code just by doing it.

Share this post


Link to post
Share on other sites
The way problems can be solved are so diverse, and the reusability of classes keeps you from having to memorize a lot. Which in one way is a blessing because you can make some REALLY complicated code easily, but also a curse when it comes to having to write some really complicated algorithms because you have to actually work hard at it again!

Windows initialization, I would say, is something you paste from existing projects. Just understand how it works, and use the documentation for special cases. Of courses there's always google, and gamedev.net, for those hard to answer questions!

Memorize as much as you like, but don't think you have to memorize everything. Just have what you need at your fingertips, and memorize what you're sick of looking up all the time, if it's within your means.

I suppose the most important thing to remember is not what to program, but where to look it up when you'll need it again.

EDIT: Looks like the pattern says memorize the references, not the programming!

[edited by - Waverider on June 3, 2002 12:18:23 AM]

Share this post


Link to post
Share on other sites
Understand and remember the general concepts. Then remember where to look up the details when you need it.

I pretend to work, they pretend to pay me.

Share this post


Link to post
Share on other sites
thanks a lot for that reply, I wish i had known this a year ago, I would have advanced much faster(making games wise). I have made a simple 2d game(its pong with missiles) and i did that from scratch, without using help files, so i guess you could say that was a big step into the game world. One of the main problems I have is i like to learn everything about programming but then forget to program itBut im learning direct3d as I speak so hopefully that all goes well. Thanks for any other replies.

Share this post


Link to post
Share on other sites
Memorize algorithms and language syntax. Be familiar with everything else.

- master_ball

----------------------------
We R 138

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You don''t have to know all the answers as long as you know where to go and find them. No one can memorize all there is to know. But you work with, say DirectDraw or Direct3D or whatever, long enough and you just get a "feel" for how it works. Its not a matter of memorization at that point, but rather intuition.

Share this post


Link to post
Share on other sites
Heh, boy am I glad for this topic. I hafta say this is the way I''ve always worked too, and I''d never really thought of it in this way before, but I''m glad so many others just say to memorise what is necessary and everything else, keep as modular code or remember where to look it up. Also as others have pointed out, if you keep using code enough, over time you find that you instinctively memorise it. For example, when starting out learning D3D8 I''d be lookin stuff up almost all the time, now when it comes to setting up a light, creating an index or vertex buffer or some such simple technique I can pretty much do it without thinking, I never intentionally set out to have this permanently engrained in my memory, it just works out that way through practise.

Share this post


Link to post
Share on other sites
Man, I couldn''t memorize a paragraph of text if my life depended on it, let along a whole page of code...

quote:
Original post by MadLep
I pretend to work, they pretend to pay me.


Damn, where''d you get that? It sounds so familiar, but I just can''t place it....


codeka.com - Just click it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I almost always have either the C++ win32 or the directX reference page open while programming. As far as memorising goes while learning something, I''d say you really only need to memorise/learn the concepts and ideas behind you''re learning - don''t worry about actually memorising every function name, parameter, flag etc. All those things are accessible in the references.

No one is going to critise you for looking things up - I know a guy who''s been working in the industry for ten years and he still often has the C++ help windows open.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!