Memory problem - does it happen to you as well?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Memory problem - does it happen to you as well?

Post by crazytopu »

It feels like I am learning but can't seem to keep the things in my memory. Be it a simple funciton name or some syntax that I used and then I forgot completely. It's true I never really spent hours after hours with php and I was learning all different sort of things. But what is your strategy not to forget the stuff you learn? Or does it happen to you too? Any energy drink to keep memory strong! :D ?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I use the manual, I google. I'm not worried if I forget things, as long as I know how to quickly look things up then I can do my job just fine :)
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

I've just been searching for a similar post I made to yours a while back but I can't find it. It was basically asking the same question as you are in this post.

At first when learning PHP I was getting worried because I'd learn something then a few days down the line it would vanish from memory and I'd have to consult the manual and learn everything all over again. I think I'm still at the stage where there's more I don't know that I know but I can still sit there and write what I need to do. I think it's a case of keep writting code and eventually you can predict which argument goes where in a function because you've used PHP so much you sort of know what it wants where. As for remembering actual functions, it's probably best to explain your problem on these forums and 9/10 you'll get your answer. Or get told where you'll find your answer.

Don't worry, Stephen
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Knowing how to program has nothing to do with remembering what order $needle and $haystack appear in strpos and in_array(). The manual is there for a reason. All languages have an API reference you'll likely consult regularly.
crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Post by crazytopu »

Thx, I am not alone then :D

But don't you worry how long it takes you to write a code or solve a problem? Especially, in commercial environment time does matter! Is it a stress?

impulse(), there is an easy way to find your own posts, just click on your name (where it says who is online), then you will see a link "see all posts made by impulse()". Hope you knew it already.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

It doesn't take very long to look things up in the manual. Most of my time is spent discussing proposals, doing feasibility studies and of course testing! If I had to learn "fundamental" programming logic everyday then yes, I'd be worried about my job! :)
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Heh, when you get to grips with a few programming languages you'll quickly learn that very specific function/API reference knowledge has no particular advantage. PHP besides has a particularly good manual which is simple to find references too. I mean typing http://www.php.net/{function_name} will find anything ;). As for needle/haystack order - I have never bothered to memorise it and never understood anyone who did - why bother filling your brain with such inconsequential information when its capacity is put to better use memorising design patterns, unit testing techniques, etc. Yesterday I spent a minute or two finding a particular set of functions including the gmp extension and an array_intersect type function. I likely won't use them for months again so why remember them?

Nope, you are far from being alone. :)
crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Post by crazytopu »

This is very encouraging. This is the first time I am seriously thinking to getting into deep of PHP. You guys will see me here more often. I am sure helping others out is a good way to teach yourself.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

crazytopu wrote:I am sure helping others out is a good way to teach yourself.
none better 8)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

I can never remember the order of function arguments either :-)

Like Mauggy said: PHP Manual is good to keep on hand. Also, you can download a CHM (Windows help file) version for those embarrassing offline moments, and if you want to get even more high-tech you can use an IDE with function hinting / auto-completion.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

The Ninja Space Goat wrote:
crazytopu wrote:I am sure helping others out is a good way to teach yourself.
none better 8)
+1. I started out learning then moved into learning and helping. Now I learn, help and help learn. And I always have the PHP manual open. Always. 8)
crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Post by crazytopu »

It's good to know the secrets of all these "genious" contributors who I thought all take some sorta memory tablet :roll:

I am getting more confident now.
crazytopu
Forum Contributor
Posts: 259
Joined: Fri Nov 07, 2003 12:43 pm
Location: London, UK
Contact:

Post by crazytopu »

Oops! just realised I have used "" around genious, it was not to mean that you guys are not genious or I doubt that but rather to make the word stands out.

Hope it creates no confusion.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

In comparison to the soon-to-be-dead individual who called me "Mauggy"? Me? The Reaper? Heh?!

I think you're safe. Now, where does this Kieran Huggins guy live...;)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

offending someone named "the reaper" + "Location" field in profile = "oh crap"

Won't happen again Maugs! :wink:
Post Reply