How to remember PHP built-in functions effectively?

Source: Internet
Author: User
PHP built-in functions have thousands of, how effective memory and skilled use it? (This is my concern)

Because in the process of programming, to check the manual, very not elegant and interrupt the idea.

I remember an article saying that the difference between a good program and a normal program is:
Ordinary programmers are always dealing with low-level problems, such as how a class of functions is called.

And good programmers, generally rely on repetitive training, do not need to spend energy to deal with such problems, focus on solving specific things above.

In addition, a doctor who is looking for a manual while cutting the knife. I am more willing to believe that a doctor who is talking to a nurse and has an axe.

So, I think it's necessary for me to memorize these functions.

Explain:
1. The memory I say is not a dead mind, but a skillful use.
2. I spend time in memory, does not mean that I do not spend time on data structures, algorithms and other aspects.

Reply content:

PHP built-in functions have thousands of, how effective memory and skilled use it? (This is my concern)

Because in the process of programming, to check the manual, very not elegant and interrupt the idea.

I remember an article saying that the difference between a good program and a normal program is:
Ordinary programmers are always dealing with low-level problems, such as how a class of functions is called.

And good programmers, generally rely on repetitive training, do not need to spend energy to deal with such problems, focus on solving specific things above.

In addition, a doctor who is looking for a manual while cutting the knife. I am more willing to believe that a doctor who is talking to a nurse and has an axe.

So, I think it's necessary for me to memorize these functions.

Explain:
1. The memory I say is not a dead mind, but a skillful use.
2. I spend time in memory, does not mean that I do not spend time on data structures, algorithms and other aspects.

Common array processing 20 about, type judgment/conversion, string, date each 5~10 about enough, 50 about the function enough to cover 70% requirements, 100 estimates can cover 90%

More important is the multi-use, check the manual after checking to have an impression, check strlen the usage does not matter, check out remember good, date the format does not have to remember, common YmdHis remember good. Good programmers do not look for manuals , but the same page manuals do not re-review

A good IDE, such as Phpstorm writing a project, does not actually require you to remember the exact name of the function. I remember a lot of the function is just a ballpark, it may be difficult to spell it all out, but you let me make a match for a string, I can quickly think of preg., and then input the IDE will automatically list some functions, and I can be sure which one.
As for remembering the parameters of each function, I think this is not much of a necessity, as long as you probably remember what it can do, because the IDE can assist you with these things.

    1. Don't need

    2. Knowing a bunch of functions doesn't use just.

    3. Check the manual is not low, only know the manual just low

Relative to the pendant culvert causality. It's not common for ordinary programs to handle low-level problems. The general program only has the ability to handle low-level problems just is.

Because to judge the power, is not able to learn, only training. Learning can only be learned in general, learning to be special, and learning to establish a special and universal ability to contact.

So I think it's not necessary to remember these functions, to show you that you have a chance to remember, just the tip of the iceberg.

Otherwise, why not let the manual go to the process?

In fact, the Lord has answered his question, remembering that it is not a dead memory but a practiced one.

How to effectively cook with PHP built-in functions?

Frequently Asked Questions

Not commonly used, not necessary.

Under this definition of "memory", this question is not a problem at all.

In fact, other programming languages are the same, such as the C language of the Windows program used by more than 2000 API, you will not always remember these functions? even if I want to learn PHP someday, is to forget the Windows API function to learn PHP function, or not only remember winsows API, and remember PHP functions? I don't think good programmers can do that. My current idea is: can put the current program finished, to achieve a good function on the line, do not need to touch a function to remember, with more natural is ripe.
BTW: Half a month ago I also wanted to skillfully use all the functions of Windows API, and later I found that I overestimated my IQ.

Project Long, remember also skilled. Then, in the not understanding of Google, ask Daniel, it is OK.

You don't have to remember the whole thing. The built-in functions that are often used are pretty good. Many built-in functions are not used in actual development?

I'm going to have to go through the manual.

1. Classify categories, remember commonly used functions, others have time to see

2. For common functions, in different scenarios, to apply and think, it is difficult to forget

3. Read the manual, read the manual, in the application, think, summarize

Practice it more. I touched the CSS, that bitter, PHP, that bitter, JavaScript, that bitter.
For some purposes, I went to modify PHP, from my PHP trip began, encountered will not be modified on Baidu.
Now I can write a little something.
CSS I was afraid of, and now can write things.
Practice, you will have knowledge.
PS: My brain is also very stupid, and now I am the formal rules in accordance with the process to go online to see the tutorial (such as W3school) I will take a notebook, the future will be much faster to look, the brain is also deeply impressed.
Regular Expressions I read the tutorial on the net to forget, took a notebook notes effect a lot better.
I hope you don't become someone like me ...
I second day a student, a lot of advice! =-=

Do more projects, more use will remember. Rote memorization is undesirable and should be used in practice. Or it's not going to work.

I also want to remember all of them, and later found that the language is more than can not be completely done. At this point you need a handy document browser such as dash or zeal, with the Quick Start tool, which should be more appropriate.

The usual functions are just a few, and I think just remember what built-in functions are enough, and look for them when you need them.

Commonly used functions, with more natural to remember, like Var_dump, Json_encode

There are some names to remember, let the IDE automatically complete, just fine.

I just learned programming that will, every day on the internet to see what Master and Rookie of the 10 differences and other articles. For example, a master with Notepad can also program or master are Notepad programming. Now I find it really very nonsense.

The ultimate goal of technology is to make products. As long as to achieve this goal, what can be done, master and rookie have no matter. You do your master, I do my products, my products make money, you say I rookie I also have no time to refute you.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.