Can you tell a lot of programming language friends: How to overcome the dependence on the first language

Source: Internet
Author: User
Please teach your friends in a variety of programming languages: How did you overcome your reliance on the first language?
My current situation is this:
PHP is my first language, the basic usage is still relatively good. But corporate leaders seem to have a preference for python, but not for no reason. Because now I often have to do some small tools, data detection, results check what, PHP portability, Interface (PHP_CLI), are not as useful as python.
Because I am familiar with PHP, before a few gadgets have deliberately avoided python, but long-term is not a method, skills are not improved, programming is not a challenge. In fact, I also want to try Python, learn a simple grammar, has never done anything.
But the reliance on the first language is very difficult for me.
So ask a variety of programming language friends: How did you overcome it?

Share to: more


------Solution--------------------
The hardest thing about personal PHP to Python is two:
1. Familiar with the list of PY, tuple and list expressions, generator expressions, because the PHP array function is very powerful, but the py corresponding dict processing is very weak, PHP array of functions in the Py almost to the list/tuple/set/ Dict even arrays are used to show
2.python Chinese material is really too little, but the English material is rich, or a little e reading ability is better

But
Do Web HTML I still think PHP is convenient, py do command line module good

As for the problem of language habitual, Py is to understand the problem of indentation in any case, especially cannot be mixed with tab and space
Knowing indentation, many programs are intuitive.
------Solution--------------------
You've discovered the sexy parts of Python, so you might as well raise your obsession with Python,
Then find a suitable time to fit in and see if there's an orgasm.
If it happens, then it's time to move on with Python.
PHP just put it at home and bring the kids.
So python can take it out and the car shakes.
------Solution--------------------
NB Programmer's planning, basically have a second language learning plan, such as the guy who wrote Think in Java is also think in C + + master.
It is a kind of experience, a lot of skills, sometimes you will see the shortcomings of both sides, and then like a building said you can be a fit, balabala ...
But always have a good game of that skill, that is, Comrade Mao said that the special and red, broad and wide skills show you do not do anything.
------Solution--------------------
References:
Quote: References:

Today, one day, I installed an eclipse of the Python environment, before the one, and more smoothly. Hang up the MySQL module of python2.6, this can put me bad, incredibly because two system files are missing, but not run, there is a built-in module can not be used and error. The Python version is torture, and there is little consultation.
Take the first step, come on.
Seems to have a lot of friends on this topic have words, temporarily do not knot bar.


Junior high School when the Wen Qu Star, there are many games, and support the editing game content, at that time remember there is a game snake, can eat different food, such as can make the snake longer, shorter, faster, and so on, and then I try to find the probability of the occurrence of food species, all transferred into a short food, play very comfortable. Later I know it is called VB.

Later high school learned to write a Russian block with VB.

High school Computer Competition, the results will only be confused game, computer concept knowledge will not, not the final.

Then went to college to learn C, C + +, it should be said that my first skilled language is C + +.

Then sophomore to participate in an activity (the prize has 1w yuan), to do a shopping site, the main difficulty is marketing methods and publicity methods, but to have a website. Our group of four girls do not understand what is the shop this kind of thing, I do not understand, but they recommend me to do, and they design propaganda and style. Helpless I went online to read the information, downloaded an online shop, the result is PHP, the full three-month activity period. Generous bonuses. I learned PHP for three months and achieved a relatively good level of proficiency.

It can be said that I am fully committed to the activity, every day is to check the PHP manual, write code, check the PHP manual, write code, grinding out. I think actually the landlord said to overcome the dependence of the first language is not entirely correct, the programming language is the same, learn a door can comprehend by analogy grasp another door. What makes us difficult to learn another door, the most important is the state of mind, such as that three months, a little distractions in school study (summer vacation, dorm, quiet and comfortable. For the work of the people, it is difficult to have such a state of mind, every day will be a lot of things, live troubled it. In addition, there is a different language functions are different, proficient in a language, then learn new, always feel a lot of new functions, libraries, read the manual to do a small project, or not, I think a lot of times is the function of the unskilled, I think that is not good, we can remember, or can do more small projects, Practice makes perfect

Said to say, it is difficult to do, because the work, we do not have much time to let themselves learn things, this is the seniors and we said.
I'm glad I'm still studying.

When I leave school, with the responsibility and hope to come to society, I hope there is a pure land and time let me meet again that programming beautiful bar ~

That's really good.
Likes a
  • Related Article

    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.