Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411512 Posts in 69376 Topics- by 58430 Members - Latest Member: Jesse Webb

April 26, 2024, 04:48:45 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Do you have to memorize all the code or will this method work
Pages: [1]
Print
Author Topic: Do you have to memorize all the code or will this method work  (Read 2110 times)
zarxto
Guest
« on: June 23, 2016, 08:01:08 AM »

See, I have ADHD and unlike others I don't want to go through adderall withdrawl and also having the risks of it making everything worse.

So do you have to memorize all of your programming language, like java for example?


Or could you put a folder where it says "stuff i've worked on" and dump all the class files there so you can check there to see what to do. has anyone else done this?
Logged
NowSayPillow
Level 1
*


John Carmack Clone


View Profile WWW
« Reply #1 on: June 23, 2016, 09:09:55 AM »

Naaaaaaaaaw. That's what google is for. Most people aren't going to memorise everything they work with just the stuff they use frequently. I have a decent memory but I'd never survive if I had to memorise everything.

--NSP
Logged

alvarop
Level 9
****


ignorant


View Profile WWW
« Reply #2 on: June 23, 2016, 09:11:29 AM »

Reference, documentation, google, etc.
Logged

i make games that can only ever be played once on http://throwaway.fun
voidSkipper
Level 2
**


View Profile
« Reply #3 on: June 23, 2016, 03:05:51 PM »

Learning how to read languages' documentation is much more important than memorizing every command in a given language.

It annoyed the hell out of me when I did my first computer science exam in uni and they expected us to have memorized the shitty GUI library they'd had us use earlier in the semester. That's what the documentation is for.

Hell I don't even remember how some of my own classes are used half the time, that's why they're commented!

Generally speaking, as long as you can read the manual and understand programming as a concept, you can get work done in any language. You'll memorize the things you need often as you go. The rest, you'll rely on code completion for, or just use the docs.
Logged
bateleur
Level 10
*****



View Profile
« Reply #4 on: June 23, 2016, 11:53:48 PM »

I don't have ADHD, but my memory is terrible. Having been a programmer for over 30 years now I've never once memorised even a significant fraction of any language. (At least not if one includes libraries. Writing assembler on the Acorn Archimedes I knew the whole instruction set... all 16 operations!)

It just isn't an obstacle at all. What matters is having a sense of roughly what's possible. Then when you want to (eg.) play an audio clip you can search for the necessary APIs and some example code and start from there.
Logged

zilluss
Level 1
*



View Profile
« Reply #5 on: June 25, 2016, 12:38:41 PM »

For how long are you programming? I assume most people, regardless of ADHD will have to look up stuff at the beginning (I still had problems getting a for loop right after a year of C  Shrug).
After a while you will begin to think more abstract about programming (less language specific). If you still have problems after programming for a long time your ADHD might be the culprit, in which case I would start to use some tricks like snippets and a sophisticated documentation browser with good search engine and bookmarks.
Logged

@zilluss | Devlog  Hand Point Right
oahda
Level 10
*****



View Profile
« Reply #6 on: June 27, 2016, 01:04:00 AM »

You need to understand programming, not learn API's by heart, basically.
Logged

2mass
Level 2
**



View Profile WWW
« Reply #7 on: June 27, 2016, 01:09:13 AM »

I memorize a lot I guess, but I also go back to old code to see how I solved this and that sometimes. So I don't remember everything - I would suggest that as being normal. I have coded for some 30 years or more.

Shit, I may be normal!
Logged

bittwyst
Level 1
*


Twitter: @bittwyst


View Profile WWW
« Reply #8 on: July 02, 2016, 06:13:05 PM »

You need to understand programming, not learn API's by heart, basically.
This, I have a good understanding of programming but I have a hilariously bad memory. Looking stuff up constantly.
Logged

DireLogomachist
Level 4
****



View Profile
« Reply #9 on: July 03, 2016, 01:43:26 PM »

I am constantly going back to language documentation for how to do that one thing I want to do.

It's very normal, especially for people who work with and switch between multiple languages.
But you'll get better at it with time.

Except for Autohotkey. I mean what the #$%& kind of syntax is that, man.
Logged


Living and dying by Hanlon's Razor
Oats
Level 1
*


High starch content.


View Profile
« Reply #10 on: July 05, 2016, 06:44:01 AM »

Im basically gonna say more of the same, for me keeping every project I've ever worked on immediately available helps a lot, then if I'm working on something similar I go back and check, even copy and paste then modify if I need to. Also google is your friend, I found a couple of resources I like and then search there first. Maybe it's because I don't use many libraries but I find reading source (if available) a lot more useful then docs.
Logged

eh
Friez
Level 0
**



View Profile
« Reply #11 on: July 06, 2016, 06:19:18 AM »

I remember core things about the language e.g. syntax, differences between classes/structs or for/foreach loops.

I remember SOME of the API's I work with, like the very basic often re-used stuff (like Vectors, Math Libraries etc).

However, I don't remember all of the API as most of it I'll rarely/never use. If I ever do need to use it, I'll look it up. I have various documentations at hand ready to pounce upon in browser tabs all the time.

Besides which, if you do upgrade engines/api's etc, you'll find that new methods/features get added and old ones get deprecated. Without reading the API docs, you'll never know until something unexpectedly stops working and you'll also miss out on nifty new things if your knowledge 'snapshot' is backdated a lot.

Never stop reading!
Logged

Twitter @friezdj
mesmith
Level 0
**


View Profile
« Reply #12 on: July 07, 2016, 05:42:10 PM »

My 2 centz... spend more time focusing on the concepts of programming; such as, Control Structures, Data Structures, OOP, Algorithms. I think when you understand these, you can learn any language much quicker. The actual syntax, API, keywords can all be looked up in seconds nowadays.
Logged
quantumpotato
Quantum Potato
Level 10
*****



View Profile WWW
« Reply #13 on: July 07, 2016, 06:39:21 PM »

My game Quantum Pilot has gone through at least 5 iterations (fresh starts) and dozens of design branches. I could re-write it in a variety of languages because I know the game design so well. I don't really think about memorizing code but instead learning the Things that I'm making and the code derives naturally from them.

https://www.amazon.com/Object-Thinking-Developer-Reference-David/dp/0735619654/ may help you with that skill.
Logged

satellitetwitter424
TIGBaby
*


View Profile
« Reply #14 on: July 15, 2016, 04:30:18 AM »

I memorize a lot I guess, but I also go back to old code to see how I solved this and that sometimes. So I don't remember everything - Best WordPress Themes on Linkedin I would suggest that as being normal. I have coded for some 30 years or more.

Shit, I may be normal!

 Cheesy
« Last Edit: August 02, 2016, 02:19:59 AM by satellitetwitter424 » Logged
Cheezmeister
Level 3
***



View Profile
« Reply #15 on: July 16, 2016, 12:12:16 AM »

Quote
Except for Autohotkey. I mean what the #$%& kind of syntax is that, man.

Hear, hear!

Not really sure what the OP is asking with this question. I also have no idea how ADHD is relevant. Just like any discipline, memorization is not really any indication of skill or mastery. I mean it helps if you happen to have a good memory, but most of us don't because we're human. Honestly, that's what machines are for!
Logged

෴Me෴ @chzmstr | www.luchenlabs.com ቒMadeቓ RA | Nextris | Chromathud   ᙍMakingᙌCheezus II (Devlog)
NowSayPillow
Level 1
*


John Carmack Clone


View Profile WWW
« Reply #16 on: July 22, 2016, 04:10:44 AM »

You need to understand programming, not learn API's by heart, basically.
This, I have a good understanding of programming but I have a hilariously bad memory. Looking stuff up constantly.

I've the same thing, if I have an autocomplete enabled IDE I can hammer out code incredibly quick, if I'm doing webstuff and all I have is a fancy text editor I have to use google to remember the name of like every-other function I want to call. Embarrassed
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic